summaryrefslogtreecommitdiff
path: root/tools/gfx/d3d12/render-d3d12.cpp
diff options
context:
space:
mode:
authorKai Yao <kyao@nvidia.com>2021-09-30 20:25:34 -0700
committerGitHub <noreply@github.com>2021-09-30 20:25:34 -0700
commit6c6200f547c7387598743b23bb3c8f0d375d9494 (patch)
treebcc7dacc0975fb383d1535ad2424083c2cd5cb0f /tools/gfx/d3d12/render-d3d12.cpp
parent627fc976bac5c2381dbace9c7925cb6a68b8de12 (diff)
VK Resource Barrier (#1955)
* Resource barrier API and VK implementation * Stub implementations * Handle VK Acceleration Structure flag * Add a couple more cases to pipeline barrier stages
Diffstat (limited to 'tools/gfx/d3d12/render-d3d12.cpp')
-rw-r--r--tools/gfx/d3d12/render-d3d12.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/gfx/d3d12/render-d3d12.cpp b/tools/gfx/d3d12/render-d3d12.cpp
index b9419c0f1..c867e156b 100644
--- a/tools/gfx/d3d12/render-d3d12.cpp
+++ b/tools/gfx/d3d12/render-d3d12.cpp
@@ -3429,6 +3429,14 @@ public:
size,
data);
}
+ virtual SLANG_NO_THROW void SLANG_MCALL textureBarrier(ITextureResource* texture, ResourceState src, ResourceState dst) override
+ {
+ assert(!"Unimplemented");
+ }
+ virtual SLANG_NO_THROW void SLANG_MCALL bufferBarrier(IBufferResource* buffer, ResourceState src, ResourceState dst) override
+ {
+ assert(!"Unimplemented");
+ }
virtual SLANG_NO_THROW void SLANG_MCALL endEncoding() {}
virtual SLANG_NO_THROW void SLANG_MCALL writeTimestamp(IQueryPool* pool, SlangInt index) override
{