From 7f39f4843f071d0032192b94163a595df589e83f Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 2 Jul 2018 23:16:20 -0700 Subject: [PATCH] iris: SBE change stash not used yet, but want to flag it so I don't forget --- src/gallium/drivers/iris/iris_context.h | 2 +- src/gallium/drivers/iris/iris_program.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h index 2b4dcc89b2d..6f3112ab4af 100644 --- a/src/gallium/drivers/iris/iris_context.h +++ b/src/gallium/drivers/iris/iris_context.h @@ -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) diff --git a/src/gallium/drivers/iris/iris_program.c b/src/gallium/drivers/iris/iris_program.c index f2e47a6baa4..d966dcd6d0a 100644 --- a/src/gallium/drivers/iris/iris_program.c +++ b/src/gallium/drivers/iris/iris_program.c @@ -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; } -- 2.30.2