Commit 1b12fb2
committed
phase 4: m_allocator.destroyBuffer(m_sbtBuffer) called twice
in phase 4 m_allocator.destroyBuffer(m_sbtBuffer) is called twice
once in createRayTracingPipeline()
and again when createRayTracingPipeline() calls createShaderBindingTable().
the buffer is only used and recreated inside createShaderBindingTable() so it should be safe to remove the destructor in createRayTracingPipeline()
in phase 5 the code behaves like this and destroys it once in createShaderBindingTable().
Signed-off-by: Enhex <enhex0@gmail.com>1 parent 4b7ee04 commit 1b12fb2
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1111 | 1111 | | |
1112 | 1112 | | |
1113 | 1113 | | |
1114 | | - | |
1115 | 1114 | | |
1116 | 1115 | | |
1117 | 1116 | | |
| |||
0 commit comments