Mesa (main): vulkan: Include self-dep info in rendering continues
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jul 26 18:17:48 UTC 2022
Module: Mesa
Branch: main
Commit: 2f00a04f3bbf2ecceea31f7bb6fd9ba02f1e3ded
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f00a04f3bbf2ecceea31f7bb6fd9ba02f1e3ded
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date: Mon Jul 25 17:05:12 2022 -0500
vulkan: Include self-dep info in rendering continues
Fixes: 3a204d5cf370 ("vulkan/render_pass: Add a better helper for render pass inheritance")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17748>
---
src/vulkan/runtime/vk_render_pass.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/vulkan/runtime/vk_render_pass.c b/src/vulkan/runtime/vk_render_pass.c
index 447a80ba8df..046bcf6b4fd 100644
--- a/src/vulkan/runtime/vk_render_pass.c
+++ b/src/vulkan/runtime/vk_render_pass.c
@@ -1003,6 +1003,11 @@ vk_get_command_buffer_inheritance_as_rendering_resume(
__vk_append_struct(&data->rendering, &data->fsr_att);
}
+ /* Append this one last because it lives in the subpass and we don't want
+ * to be changed by appending other structures later.
+ */
+ __vk_append_struct(&data->rendering, (void *)&subpass->self_dep_info);
+
return &data->rendering;
}
More information about the mesa-commit
mailing list