diff --git a/src/gallium/drivers/etnaviv/etnaviv_texture_state.c b/src/gallium/drivers/etnaviv/etnaviv_texture_state.c index e9e930033f8..73abc281da5 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_texture_state.c +++ b/src/gallium/drivers/etnaviv/etnaviv_texture_state.c @@ -430,7 +430,7 @@ etna_emit_new_texture_state(struct etna_context *ctx) } } } - if (unlikely(dirty & (ETNA_DIRTY_SAMPLER_VIEWS))) { + if (unlikely(dirty & (ETNA_DIRTY_SAMPLERS))) { for (int x = 0; x < VIVS_NTE_SAMPLER__LEN; ++x) { if ((1 << x) & active_samplers) { struct etna_sampler_state *ss = etna_sampler_state(ctx->sampler[x]);