summaryrefslogtreecommitdiff
path: root/tools/gfx/d3d12/render-d3d12.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-07-09 06:12:34 -0700
committerGitHub <noreply@github.com>2021-07-09 09:12:34 -0400
commit09a251e0f3a31c826eaa91eef64b04eb01c4393a (patch)
treed6a02b84527d581438aa93690995ac07f42b89ed /tools/gfx/d3d12/render-d3d12.cpp
parentaba2731f0427a04a119a59567e6715ba4034920a (diff)
[gfx] Inline raytracing fixes in response to code review. (#1905)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/d3d12/render-d3d12.cpp')
-rw-r--r--tools/gfx/d3d12/render-d3d12.cpp2
1 files changed, 1 insertions, 1 deletions
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<BufferResourceImpl> m_bufferResource;
RefPtr<D3D12Device> m_device;
+ uint32_t m_stride = 0;
};
struct BoundVertexBuffer