diff --git a/src/gallium/drivers/asahi/agx_state.c b/src/gallium/drivers/asahi/agx_state.c index acf93bfc736..7a062901daf 100644 --- a/src/gallium/drivers/asahi/agx_state.c +++ b/src/gallium/drivers/asahi/agx_state.c @@ -3797,8 +3797,6 @@ agx_encode_state(struct agx_batch *batch, uint8_t *out, bool is_lines, agx_ppp_push(&ppp, FRAGMENT_OCCLUSION_QUERY, cfg) { if (ctx->active_queries && ctx->occlusion_query) { cfg.index = agx_get_oq_index(batch, ctx->occlusion_query); - } else { - cfg.index = 0; } } }