vc4: Drop VC4_DIRTY_TEXSTATE in favor of the per-stage flags.
[mesa.git] / src / gallium / drivers / vc4 / vc4_state.c
index 0912ca5b8d7a162dfb1c6a2ea414b6b9baef684c..bf4e0232daf3b96b9fe9672ddc1b3ce37e6d6c2b 100644 (file)
@@ -482,8 +482,6 @@ vc4_set_framebuffer_state(struct pipe_context *pctx,
 static struct vc4_texture_stateobj *
 vc4_get_stage_tex(struct vc4_context *vc4, unsigned shader)
 {
-        vc4->dirty |= VC4_DIRTY_TEXSTATE;
-
         switch (shader) {
         case PIPE_SHADER_FRAGMENT:
                 vc4->dirty |= VC4_DIRTY_FRAGTEX;
@@ -668,8 +666,6 @@ vc4_set_sampler_views(struct pipe_context *pctx, unsigned shader,
 
         assert(start == 0);
 
-        vc4->dirty |= VC4_DIRTY_TEXSTATE;
-
         for (i = 0; i < nr; i++) {
                 if (views[i])
                         new_nr = i + 1;