From 6c6200f547c7387598743b23bb3c8f0d375d9494 Mon Sep 17 00:00:00 2001 From: Kai Yao Date: Thu, 30 Sep 2021 20:25:34 -0700 Subject: 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 --- tools/gfx/d3d12/render-d3d12.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tools/gfx/d3d12/render-d3d12.cpp') 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 { -- cgit v1.2.3