From 09a251e0f3a31c826eaa91eef64b04eb01c4393a Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 9 Jul 2021 06:12:34 -0700 Subject: [gfx] Inline raytracing fixes in response to code review. (#1905) Co-authored-by: Yong He --- tools/gfx/d3d12/render-d3d12.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/gfx') diff --git a/tools/gfx/d3d12/render-d3d12.cpp b/tools/gfx/d3d12/render-d3d12.cpp index e85fa84a3..0e7e7d3ab 100644 --- a/tools/gfx/d3d12/render-d3d12.cpp +++ b/tools/gfx/d3d12/render-d3d12.cpp @@ -405,7 +405,6 @@ public: } public: - uint32_t m_stride = 0; Result init(const IQueryPool::Desc& desc, D3D12Device* device, uint32_t stride); virtual SLANG_NO_THROW Result SLANG_MCALL @@ -428,6 +427,7 @@ public: QueryType m_queryType; RefPtr m_bufferResource; RefPtr m_device; + uint32_t m_stride = 0; }; struct BoundVertexBuffer -- cgit v1.2.3