diff options
Diffstat (limited to 'tools/gfx/debug-layer/debug-command-buffer.h')
| -rw-r--r-- | tools/gfx/debug-layer/debug-command-buffer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/gfx/debug-layer/debug-command-buffer.h b/tools/gfx/debug-layer/debug-command-buffer.h index d7633960b..33709fb2c 100644 --- a/tools/gfx/debug-layer/debug-command-buffer.h +++ b/tools/gfx/debug-layer/debug-command-buffer.h @@ -12,14 +12,13 @@ using namespace Slang; namespace debug { -class DebugCommandBuffer : public DebugObject<ICommandBuffer> +class DebugCommandBuffer : public DebugObject<ICommandBuffer>, ICommandBufferD3D12 { public: SLANG_COM_OBJECT_IUNKNOWN_ALL; public: DebugTransientResourceHeap* m_transientHeap; - private: DebugRenderCommandEncoder m_renderCommandEncoder; DebugComputeCommandEncoder m_computeCommandEncoder; @@ -41,6 +40,8 @@ public: encodeRayTracingCommands(IRayTracingCommandEncoder** outEncoder) override; virtual SLANG_NO_THROW void SLANG_MCALL close() override; virtual SLANG_NO_THROW Result SLANG_MCALL getNativeHandle(InteropHandle* outHandle) override; + virtual SLANG_NO_THROW void SLANG_MCALL invalidateDescriptorHeapBinding() override; + virtual SLANG_NO_THROW void SLANG_MCALL ensureInternalDescriptorHeapsBound() override; private: void checkEncodersClosedBeforeNewEncoder(); |
