From f6f7a5bfcccdc3e8eb1779cdf993ab7ba9701ecd Mon Sep 17 00:00:00 2001 From: Yahan Zhou Date: Wed, 18 Sep 2024 15:07:42 -0700 Subject: [PATCH] [Vulkan Snapshot] Add dependency graphics pipeline -> render pass Reviewed-by: Aaron Ruby Acked-by: Yonggang Luo Acked-by: Adam Jackson Part-of: --- src/gfxstream/codegen/scripts/cereal/decodersnapshot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gfxstream/codegen/scripts/cereal/decodersnapshot.py b/src/gfxstream/codegen/scripts/cereal/decodersnapshot.py index bd8f163e18f..0c0e9af13d0 100644 --- a/src/gfxstream/codegen/scripts/cereal/decodersnapshot.py +++ b/src/gfxstream/codegen/scripts/cereal/decodersnapshot.py @@ -138,6 +138,8 @@ def extract_deps_vkCreateGraphicsPipelines(param, access, lenExpr, api, cgen): cgen.stmt("mReconstruction.addHandleDependency((const uint64_t*)(%s + i), %s, (uint64_t)(uintptr_t)%s)" % \ (access, 1, "unboxed_to_boxed_non_dispatchable_VkShaderModule(pCreateInfos[i].pStages[j].module)")) cgen.endFor() + cgen.stmt("mReconstruction.addHandleDependency((const uint64_t*)(%s + i), %s, (uint64_t)(uintptr_t)%s)" % \ + (access, 1, "unboxed_to_boxed_non_dispatchable_VkRenderPass(pCreateInfos[i].renderPass)")) cgen.endFor() def extract_deps_vkCreateFramebuffer(param, access, lenExpr, api, cgen):