diff --git a/src/gallium/drivers/iris/iris_binder.c b/src/gallium/drivers/iris/iris_binder.c index f41444e6009..1b6851786e9 100644 --- a/src/gallium/drivers/iris/iris_binder.c +++ b/src/gallium/drivers/iris/iris_binder.c @@ -144,7 +144,7 @@ iris_binder_reserve_3d(struct iris_context *ice) /* If nothing is dirty, skip all this. */ if (!(ice->state.dirty & IRIS_DIRTY_RENDER_BUFFER) && - !(ice->state.stage_dirty & IRIS_ALL_STAGE_DIRTY_BINDINGS)) + !(ice->state.stage_dirty & IRIS_ALL_STAGE_DIRTY_BINDINGS_FOR_RENDER)) return; /* Get the binding table sizes for each stage */ diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h index 1e7d4e9a4fc..0f78e7d82fa 100644 --- a/src/gallium/drivers/iris/iris_context.h +++ b/src/gallium/drivers/iris/iris_context.h @@ -165,11 +165,13 @@ enum { #define IRIS_ALL_STAGE_DIRTY_FOR_RENDER (~IRIS_ALL_STAGE_DIRTY_FOR_COMPUTE) -#define IRIS_ALL_STAGE_DIRTY_BINDINGS (IRIS_STAGE_DIRTY_BINDINGS_VS | \ - IRIS_STAGE_DIRTY_BINDINGS_TCS | \ - IRIS_STAGE_DIRTY_BINDINGS_TES | \ - IRIS_STAGE_DIRTY_BINDINGS_GS | \ - IRIS_STAGE_DIRTY_BINDINGS_FS | \ +#define IRIS_ALL_STAGE_DIRTY_BINDINGS_FOR_RENDER (IRIS_STAGE_DIRTY_BINDINGS_VS | \ + IRIS_STAGE_DIRTY_BINDINGS_TCS | \ + IRIS_STAGE_DIRTY_BINDINGS_TES | \ + IRIS_STAGE_DIRTY_BINDINGS_GS | \ + IRIS_STAGE_DIRTY_BINDINGS_FS) + +#define IRIS_ALL_STAGE_DIRTY_BINDINGS (IRIS_ALL_STAGE_DIRTY_BINDINGS_FOR_RENDER | \ IRIS_STAGE_DIRTY_BINDINGS_CS) /** diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index f520ac3438f..0d4c7650793 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -5763,7 +5763,7 @@ iris_upload_dirty_render_state(struct iris_context *ice, */ const bool emit_const_wa = GFX_VER >= 11 && ((dirty & IRIS_DIRTY_RENDER_BUFFER) || - (stage_dirty & IRIS_ALL_STAGE_DIRTY_BINDINGS)); + (stage_dirty & IRIS_ALL_STAGE_DIRTY_BINDINGS_FOR_RENDER)); #if GFX_VER >= 12 uint32_t nobuffer_stages = 0;