summaryrefslogtreecommitdiffstats
path: root/src/vulkan/meta.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-05-30 10:07:29 -0700
committerJason Ekstrand <[email protected]>2015-05-30 10:07:29 -0700
commit2251305e1ac14417a634e175e53736a6f01dad0f (patch)
treeb08fbdd834b0c43d893a5f1190088b1fe1be438a /src/vulkan/meta.c
parent33cccbbb738ee71b4b4827707ebd63c791b39d91 (diff)
vk/cmd_buffer: Track descriptor set dirtying per-stage
Diffstat (limited to 'src/vulkan/meta.c')
-rw-r--r--src/vulkan/meta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/meta.c b/src/vulkan/meta.c
index 78617f05b0c..ee9593ae995 100644
--- a/src/vulkan/meta.c
+++ b/src/vulkan/meta.c
@@ -178,8 +178,8 @@ anv_cmd_buffer_restore(struct anv_cmd_buffer *cmd_buffer,
sizeof(state->old_vertex_bindings));
cmd_buffer->vb_dirty |= (1 << NUM_VB_USED) - 1;
- cmd_buffer->dirty |= ANV_CMD_BUFFER_PIPELINE_DIRTY |
- ANV_CMD_BUFFER_DESCRIPTOR_SET_DIRTY;
+ cmd_buffer->dirty |= ANV_CMD_BUFFER_PIPELINE_DIRTY;
+ cmd_buffer->descriptors_dirty |= VK_SHADER_STAGE_VERTEX_BIT;
}
struct vue_header {