From: Kristian Høgsberg Kristensen Date: Tue, 26 Jan 2016 22:43:07 +0000 (-0800) Subject: anv: Dirty fragment shader descriptors in meta restore X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=074a7c7d7ced001a82db4b51e1a7a4d2cac74f70;p=mesa.git anv: Dirty fragment shader descriptors in meta restore We need to reemit render targets, so dirtying VK_SHADER_STAGE_VERTEX_BIT doesn't help us much. --- diff --git a/src/vulkan/anv_meta.c b/src/vulkan/anv_meta.c index 351af219e7f..7034f70d6ac 100644 --- a/src/vulkan/anv_meta.c +++ b/src/vulkan/anv_meta.c @@ -146,7 +146,7 @@ anv_meta_restore(const struct anv_meta_saved_state *state, cmd_buffer->state.vb_dirty |= (1 << ANV_META_VERTEX_BINDING_COUNT) - 1; cmd_buffer->state.dirty |= ANV_CMD_DIRTY_PIPELINE; - cmd_buffer->state.descriptors_dirty |= VK_SHADER_STAGE_VERTEX_BIT; + cmd_buffer->state.descriptors_dirty |= VK_SHADER_STAGE_FRAGMENT_BIT; anv_dynamic_state_copy(&cmd_buffer->state.dynamic, &state->dynamic, state->dynamic_mask);