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/vulkan/render-vk.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'tools/gfx/vulkan/render-vk.cpp') diff --git a/tools/gfx/vulkan/render-vk.cpp b/tools/gfx/vulkan/render-vk.cpp index 2a48e60d8..836e4e19e 100644 --- a/tools/gfx/vulkan/render-vk.cpp +++ b/tools/gfx/vulkan/render-vk.cpp @@ -3966,6 +3966,17 @@ public: SLANG_UNUSED(countOffset); SLANG_UNIMPLEMENTED_X("drawIndirect"); } + + virtual SLANG_NO_THROW Result SLANG_MCALL setSamplePositions( + uint32_t samplesPerPixel, + uint32_t pixelCount, + const SamplePosition* samplePositions) override + { + SLANG_UNUSED(samplesPerPixel); + SLANG_UNUSED(pixelCount); + SLANG_UNUSED(samplePositions); + SLANG_UNIMPLEMENTED_X("setSamplePositions"); + } }; RefPtr m_renderCommandEncoder; @@ -4333,6 +4344,17 @@ public: SLANG_UNUSED(subResourceDataCount); SLANG_UNIMPLEMENTED_X("uploadTextureData"); } + + virtual SLANG_NO_THROW void SLANG_MCALL clearResourceView( + IResourceView* view, + ClearValue* clearValue, + ClearResourceViewFlags::Enum flags) override + { + SLANG_UNUSED(view); + SLANG_UNUSED(clearValue); + SLANG_UNUSED(flags); + SLANG_UNIMPLEMENTED_X("clearResourceView"); + } }; RefPtr m_resourceCommandEncoder; -- cgit v1.2.3