diff options
| author | Kai Yao <kyao@nvidia.com> | 2021-09-30 20:25:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-30 20:25:34 -0700 |
| commit | 6c6200f547c7387598743b23bb3c8f0d375d9494 (patch) | |
| tree | bcc7dacc0975fb383d1535ad2424083c2cd5cb0f /tools/gfx/debug-layer.h | |
| parent | 627fc976bac5c2381dbace9c7925cb6a68b8de12 (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/debug-layer.h')
| -rw-r--r-- | tools/gfx/debug-layer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/gfx/debug-layer.h b/tools/gfx/debug-layer.h index 1494fec58..69ef5ffe2 100644 --- a/tools/gfx/debug-layer.h +++ b/tools/gfx/debug-layer.h @@ -317,7 +317,8 @@ public: virtual SLANG_NO_THROW void SLANG_MCALL uploadBufferData(IBufferResource* dst, size_t offset, size_t size, void* data) override; virtual SLANG_NO_THROW void SLANG_MCALL writeTimestamp(IQueryPool* pool, SlangInt index) override; - + virtual SLANG_NO_THROW void SLANG_MCALL textureBarrier(ITextureResource* texture, ResourceState src, ResourceState dst) override; + virtual SLANG_NO_THROW void SLANG_MCALL bufferBarrier(IBufferResource* buffer, ResourceState src, ResourceState dst) override; public: DebugCommandBuffer* commandBuffer; bool isOpen = false; |
