summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-10-30 05:45:25 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-10-30 05:45:25 +0000
commit85129a6868aca02adc80a0a5360fa47579dac526 (patch)
treea71114df82f1369eb2a06193f17a8d25105e2233 /Graphics/GraphicsEngineD3D12
parentadded ray tracing implementation for dx12 and vulkan (diff)
downloadDiligentCore-85129a6868aca02adc80a0a5360fa47579dac526.tar.gz
DiligentCore-85129a6868aca02adc80a0a5360fa47579dac526.zip
Added include tests for BLAS, TLAS and SBT headers, fixed few issues
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/BottomLevelASD3D12.h2
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/ShaderBindingTableD3D12.h2
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/TopLevelASD3D12.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/Graphics/GraphicsEngineD3D12/interface/BottomLevelASD3D12.h b/Graphics/GraphicsEngineD3D12/interface/BottomLevelASD3D12.h
index 2b64da57..bcfe3d73 100644
--- a/Graphics/GraphicsEngineD3D12/interface/BottomLevelASD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/BottomLevelASD3D12.h
@@ -63,7 +63,7 @@ DILIGENT_END_INTERFACE
#if DILIGENT_C_INTERFACE
-# define IBottomLevelASD3D12_GetD3D12BLAS(This) CALL_IFACE_METHOD(IBottomLevelASD3D12, GetD3D12BLAS, This)
+# define IBottomLevelASD3D12_GetD3D12BLAS(This) CALL_IFACE_METHOD(BottomLevelASD3D12, GetD3D12BLAS, This)
#endif
diff --git a/Graphics/GraphicsEngineD3D12/interface/ShaderBindingTableD3D12.h b/Graphics/GraphicsEngineD3D12/interface/ShaderBindingTableD3D12.h
index f33bac1b..4b0835cd 100644
--- a/Graphics/GraphicsEngineD3D12/interface/ShaderBindingTableD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/ShaderBindingTableD3D12.h
@@ -44,7 +44,7 @@ static const INTERFACE_ID IID_ShaderBindingTableD3D12 =
#define IShaderBindingTableD3D12InclusiveMethods \
IShaderBindingTableInclusiveMethods; \
- IShaderBindingTableD3D12Methods ShaderBindingTable
+ IShaderBindingTableD3D12Methods ShaderBindingTableD3D12
// clang-format off
/// Exposes Direct3D12-specific functionality of a shader binding table object.
diff --git a/Graphics/GraphicsEngineD3D12/interface/TopLevelASD3D12.h b/Graphics/GraphicsEngineD3D12/interface/TopLevelASD3D12.h
index 5b2bd512..6434eaba 100644
--- a/Graphics/GraphicsEngineD3D12/interface/TopLevelASD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/TopLevelASD3D12.h
@@ -69,8 +69,8 @@ DILIGENT_END_INTERFACE
#if DILIGENT_C_INTERFACE
-# define ITopLevelASD3D12_GetD3D12TLAS(This) CALL_IFACE_METHOD(ITopLevelASD3D12, GetD3D12TLAS, This)
-# define ITopLevelASD3D12_GetCPUDescriptorHandle(This) CALL_IFACE_METHOD(ITopLevelASD3D12, GetCPUDescriptorHandle, This)
+# define ITopLevelASD3D12_GetD3D12TLAS(This) CALL_IFACE_METHOD(TopLevelASD3D12, GetD3D12TLAS, This)
+# define ITopLevelASD3D12_GetCPUDescriptorHandle(This) CALL_IFACE_METHOD(TopLevelASD3D12, GetCPUDescriptorHandle, This)
#endif