[Mesa-dev] [PATCH 5/6] radv: skip constants upload when restoring meta pipelines
Samuel Pitoiset
samuel.pitoiset at gmail.com
Fri Oct 6 10:19:49 UTC 2017
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
src/amd/vulkan/radv_meta.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/amd/vulkan/radv_meta.c b/src/amd/vulkan/radv_meta.c
index d12797a76c..43d32263f3 100644
--- a/src/amd/vulkan/radv_meta.c
+++ b/src/amd/vulkan/radv_meta.c
@@ -98,6 +98,8 @@ radv_meta_restore(const struct radv_meta_saved_state *state,
if (!(state->flags & RADV_META_SAVE_DESCRIPTORS))
bind_flags |= RADV_BIND_PIPELINE_SKIP_DESCRIPTORS;
+ if (!(state->flags & RADV_META_SAVE_CONSTANTS))
+ bind_flags |= RADV_BIND_PIPELINE_SKIP_CONSTANTS;
if (state->flags & RADV_META_SAVE_GRAPHICS_PIPELINE) {
radv_bind_pipeline(cmd_buffer, VK_PIPELINE_BIND_POINT_GRAPHICS,
--
2.14.2
More information about the mesa-dev
mailing list