iris: SBE change stash

not used yet, but want to flag it so I don't forget
This commit is contained in:
Kenneth Graunke 2018-07-02 23:16:20 -07:00
parent 8a080223e6
commit 7f39f4843f
2 changed files with 5 additions and 1 deletions

View file

@ -55,7 +55,7 @@ struct blorp_params;
#define IRIS_DIRTY_BLEND_STATE (1ull << 7)
#define IRIS_DIRTY_RASTER (1ull << 8)
#define IRIS_DIRTY_CLIP (1ull << 9)
// XXX: define IRIS_DIRTY_ (1ull << 10)
#define IRIS_DIRTY_SBE (1ull << 10)
#define IRIS_DIRTY_LINE_STIPPLE (1ull << 11)
#define IRIS_DIRTY_VERTEX_ELEMENTS (1ull << 12)
#define IRIS_DIRTY_MULTISAMPLE (1ull << 13)

View file

@ -517,6 +517,10 @@ update_last_vue_map(struct iris_context *ice)
// XXX: CC_VIEWPORT?
}
if (changed_slots || (old_map && old_map->separate != vue_map->separate)) {
ice->state.dirty |= IRIS_DIRTY_SBE;
}
ice->shaders.last_vue_map = &vue_prog_data->vue_map;
}