diff options
author | Iago Toral Quiroga <itoral@igalia.com> | 2018-06-28 13:16:53 +0200 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-07-03 10:25:32 -0700 |
commit | ebaa43bebc23ffb589bc7191a954653e5c157d9d (patch) | |
tree | de0f7c034c542787c4f16e77715c89b81774b1af | |
parent | 52b78ae7da04f3292ed51f5448e269f020c1576c (diff) |
anv/cmd_buffer: clean dirty push constants flag after emitting push constants
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
CC: <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 6a1d8350c91eed4ab10569683902a0fea4c048c5)
-rw-r--r-- | src/intel/vulkan/genX_cmd_buffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c index 0f1cd769fa..62814988dd 100644 --- a/src/intel/vulkan/genX_cmd_buffer.c +++ b/src/intel/vulkan/genX_cmd_buffer.c @@ -3026,6 +3026,8 @@ genX(cmd_buffer_flush_compute_state)(struct anv_cmd_buffer *cmd_buffer) curbe.CURBEDataStartAddress = push_state.offset; } } + + cmd_buffer->state.push_constants_dirty &= ~VK_SHADER_STAGE_COMPUTE_BIT; } cmd_buffer->state.compute.pipeline_dirty = false; |