diff options
| author | Yong He <yonghe@outlook.com> | 2022-01-21 10:17:39 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-21 10:17:39 -0800 |
| commit | f85bc7ae98486b37518958e659f659f1ff9b125c (patch) | |
| tree | b18f40a62ac51ee77bdf651a6d9a26f277019ab4 /tools/gfx/vulkan | |
| parent | 11d248293f1b56a790faadead1e3d94de81f29a2 (diff) | |
GFX: seperated ShaderTable. (#2090)
Diffstat (limited to 'tools/gfx/vulkan')
| -rw-r--r-- | tools/gfx/vulkan/render-vk.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/gfx/vulkan/render-vk.cpp b/tools/gfx/vulkan/render-vk.cpp index 9f5af2a1e..f31195cc8 100644 --- a/tools/gfx/vulkan/render-vk.cpp +++ b/tools/gfx/vulkan/render-vk.cpp @@ -5117,12 +5117,14 @@ public: } virtual SLANG_NO_THROW void SLANG_MCALL dispatchRays( - const char* rayGenShaderName, + uint32_t raygenShaderIndex, + IShaderTable* shaderTable, int32_t width, int32_t height, int32_t depth) override { - SLANG_UNUSED(rayGenShaderName); + SLANG_UNUSED(raygenShaderIndex); + SLANG_UNUSED(shaderTable); SLANG_UNUSED(width); SLANG_UNUSED(height); SLANG_UNUSED(depth); |
