summaryrefslogtreecommitdiff
path: root/tools/gfx/debug-layer.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-07-08 13:30:17 -0700
committerGitHub <noreply@github.com>2021-07-08 16:30:17 -0400
commit09950676b3f73bb9967aea183d27a30d63098475 (patch)
treeaba3e69b72554b07da1188fd44d5f3ce3d90da26 /tools/gfx/debug-layer.h
parent06c4926ec51ce9548f2dc44ee948a467d588def8 (diff)
Implement gfx inline ray tracing on D3D12. (#1902)
* Update VS projects to 2019. * Empty commit to trigger build * Implement gfx inline ray tracing on D3D12.
Diffstat (limited to 'tools/gfx/debug-layer.h')
-rw-r--r--tools/gfx/debug-layer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/gfx/debug-layer.h b/tools/gfx/debug-layer.h
index 8ab1146d0..49ef99f99 100644
--- a/tools/gfx/debug-layer.h
+++ b/tools/gfx/debug-layer.h
@@ -160,6 +160,7 @@ public:
public:
IResourceView* getInterface(const Slang::Guid& guid);
+ virtual SLANG_NO_THROW Desc* SLANG_MCALL getViewDesc() override;
};
class DebugAccelerationStructure : public DebugObject<IAccelerationStructure>
@@ -170,6 +171,7 @@ public:
public:
IAccelerationStructure* getInterface(const Slang::Guid& guid);
virtual SLANG_NO_THROW DeviceAddress SLANG_MCALL getDeviceAddress() override;
+ virtual SLANG_NO_THROW Desc* SLANG_MCALL getViewDesc() override;
};
class DebugSamplerState : public DebugObject<ISamplerState>
@@ -341,7 +343,7 @@ public:
virtual SLANG_NO_THROW void SLANG_MCALL deserializeAccelerationStructure(
IAccelerationStructure* dest,
DeviceAddress source) override;
- virtual SLANG_NO_THROW void memoryBarrier(
+ virtual SLANG_NO_THROW void SLANG_MCALL memoryBarrier(
int count,
IAccelerationStructure* const* structures,
AccessFlag::Enum sourceAccess,