From 5042867e21f681eb0e9edde55146a9b8c1d3637c Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 16 Nov 2021 12:59:42 -0800 Subject: gfx: setSamplePositions and clearResourceView. (#2018) Co-authored-by: Yong He --- tools/gfx/debug-layer.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tools/gfx/debug-layer.h') 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; -- cgit v1.2.3