diff options
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_state.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_state.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_state.c b/src/gallium/drivers/freedreno/freedreno_state.c index 05717da9599..7f9d19aa526 100644 --- a/src/gallium/drivers/freedreno/freedreno_state.c +++ b/src/gallium/drivers/freedreno/freedreno_state.c @@ -103,12 +103,10 @@ fd_set_constant_buffer(struct pipe_context *pctx, */ if (unlikely(!cb)) { so->enabled_mask &= ~(1 << index); - so->dirty_mask &= ~(1 << index); return; } so->enabled_mask |= 1 << index; - so->dirty_mask |= 1 << index; ctx->dirty_shader[shader] |= FD_DIRTY_SHADER_CONST; ctx->dirty |= FD_DIRTY_CONST; } @@ -157,7 +155,6 @@ fd_set_shader_buffers(struct pipe_context *pctx, so->enabled_mask &= ~mask; } - so->dirty_mask |= mask; ctx->dirty_shader[shader] |= FD_DIRTY_SHADER_SSBO; } @@ -204,7 +201,6 @@ fd_set_shader_images(struct pipe_context *pctx, so->enabled_mask &= ~mask; } - so->dirty_mask |= mask; ctx->dirty_shader[shader] |= FD_DIRTY_SHADER_IMAGE; } |