From 074a7c7d7ced001a82db4b51e1a7a4d2cac74f70 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg=20Kristensen?= Date: Tue, 26 Jan 2016 14:43:07 -0800 Subject: [PATCH] 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. --- src/vulkan/anv_meta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2