From b40cd149c2038b0a429e46d60ddee5610e08b0ba Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 19 Jan 2022 11:14:38 -0800 Subject: More fixes to GFX d3d12. (#2084) * Fixes to GFX. * Fix binding null resource views in d3d12. * Fix array render target view creation. * Add support for more primitive topologies. * More gfx fixes. * D3D12 feature report on conservative raster, programmable sample position, barycentrics and ROV. * Add QueryPool::reset. * Fix resource setDebugName. * Dynamically expanding GPU descriptor heap. * Render passes without render targets (null frame buffer). * Fix. Co-authored-by: Yong He --- tools/gfx/debug-layer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/gfx/debug-layer.h') diff --git a/tools/gfx/debug-layer.h b/tools/gfx/debug-layer.h index d848676db..096c35147 100644 --- a/tools/gfx/debug-layer.h +++ b/tools/gfx/debug-layer.h @@ -166,7 +166,9 @@ public: IQueryPool::Desc desc; public: IQueryPool* getInterface(const Slang::Guid& guid); - virtual SLANG_NO_THROW Result SLANG_MCALL getResult(SlangInt index, SlangInt count, uint64_t* data) override; + virtual SLANG_NO_THROW Result SLANG_MCALL + getResult(SlangInt index, SlangInt count, uint64_t* data) override; + virtual SLANG_NO_THROW Result SLANG_MCALL reset() override; }; class DebugBufferResource : public DebugObject -- cgit v1.2.3