diff options
| author | Yong He <yonghe@outlook.com> | 2022-02-20 14:37:41 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-20 14:37:41 -0800 |
| commit | c4790309ec46ae2f4f7c49eb50699a950ee7a9a4 (patch) | |
| tree | e89f2a4a0a8a3fee16ebde5ce5b05ceb1d473398 /tools/gfx/vulkan | |
| parent | e272aec6a9ddb8b0af82f72c061f5393f2b2bdab (diff) | |
gfx: defer downstream shader compilation until draw/dispatch. (#2139)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/vulkan')
| -rw-r--r-- | tools/gfx/vulkan/render-vk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/vulkan/render-vk.cpp b/tools/gfx/vulkan/render-vk.cpp index ebf25513b..d1713ae01 100644 --- a/tools/gfx/vulkan/render-vk.cpp +++ b/tools/gfx/vulkan/render-vk.cpp @@ -1023,7 +1023,7 @@ public: { PipelineStateDesc pipelineDesc; pipelineDesc.type = PipelineType::RayTracing; - pipelineDesc.rayTracing = inDesc; + pipelineDesc.rayTracing.set(inDesc); initializeBase(pipelineDesc); } |
