diff options
| author | Yong He <yonghe@outlook.com> | 2021-11-16 12:59:42 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-16 12:59:42 -0800 |
| commit | 5042867e21f681eb0e9edde55146a9b8c1d3637c (patch) | |
| tree | 6e8bd700e607f690f3ea7cb5ae4c628533de8190 /tools/gfx/debug-layer.h | |
| parent | c51f1e27f0e307a80a57a840b2337e3226b3c2be (diff) | |
gfx: setSamplePositions and clearResourceView. (#2018)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/debug-layer.h')
| -rw-r--r-- | tools/gfx/debug-layer.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/gfx/debug-layer.h b/tools/gfx/debug-layer.h index b7cb9e353..87f7b009d 100644 --- a/tools/gfx/debug-layer.h +++ b/tools/gfx/debug-layer.h @@ -357,6 +357,10 @@ public: uint64_t countOffset) override; virtual SLANG_NO_THROW void SLANG_MCALL setStencilReference(uint32_t referenceValue) override; virtual SLANG_NO_THROW void SLANG_MCALL writeTimestamp(IQueryPool* pool, SlangInt index) override; + virtual SLANG_NO_THROW Result SLANG_MCALL setSamplePositions( + uint32_t samplesPerPixel, + uint32_t pixelCount, + const SamplePosition* samplePositions) override; public: DebugCommandBuffer* commandBuffer; @@ -403,6 +407,11 @@ public: ITextureResource::SubresourceData* subResourceData, size_t subResourceDataCount) override; + virtual SLANG_NO_THROW void SLANG_MCALL clearResourceView( + IResourceView* view, + ClearValue* clearValue, + ClearResourceViewFlags::Enum flags) override; + public: DebugCommandBuffer* commandBuffer; bool isOpen = false; |
