diff options
| author | skallweitNV <64953474+skallweitNV@users.noreply.github.com> | 2024-05-12 00:11:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-11 15:11:44 -0700 |
| commit | e0054151b5b1b4bc44312e3ca737aa2a9a04ff35 (patch) | |
| tree | 8d063554fd9c71e9bad3b76a806d604f28dbf4b1 /tools/gfx/vulkan/vk-command-encoder.cpp | |
| parent | 86a9da1573e1eea62fbaeddc97521f2b97ebc255 (diff) | |
add missing Result to IRayTracingCommandEncoder::bindPipline (#4148)
Diffstat (limited to 'tools/gfx/vulkan/vk-command-encoder.cpp')
| -rw-r--r-- | tools/gfx/vulkan/vk-command-encoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gfx/vulkan/vk-command-encoder.cpp b/tools/gfx/vulkan/vk-command-encoder.cpp index b415f59d7..d0fc0a4fd 100644 --- a/tools/gfx/vulkan/vk-command-encoder.cpp +++ b/tools/gfx/vulkan/vk-command-encoder.cpp @@ -1443,9 +1443,9 @@ void RayTracingCommandEncoder::deserializeAccelerationStructure( m_commandBuffer->m_commandBuffer, ©Info); } -void RayTracingCommandEncoder::bindPipeline(IPipelineState* pipeline, IShaderObject** outRootObject) +Result RayTracingCommandEncoder::bindPipeline(IPipelineState* pipeline, IShaderObject** outRootObject) { - setPipelineStateImpl(pipeline, outRootObject); + return setPipelineStateImpl(pipeline, outRootObject); } Result RayTracingCommandEncoder::bindPipelineWithRootObject( |
