From 09950676b3f73bb9967aea183d27a30d63098475 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 8 Jul 2021 13:30:17 -0700 Subject: Implement gfx inline ray tracing on D3D12. (#1902) * Update VS projects to 2019. * Empty commit to trigger build * Implement gfx inline ray tracing on D3D12. --- tools/gfx/cpu/render-cpu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/gfx/cpu/render-cpu.cpp') diff --git a/tools/gfx/cpu/render-cpu.cpp b/tools/gfx/cpu/render-cpu.cpp index af1fcc65a..56804f15e 100644 --- a/tools/gfx/cpu/render-cpu.cpp +++ b/tools/gfx/cpu/render-cpu.cpp @@ -379,12 +379,12 @@ public: protected: CPUResourceView(Kind kind, Desc const& desc) : m_kind(kind) - , m_desc(desc) - {} + { + m_desc = desc; + } private: Kind m_kind; - Desc m_desc; }; class CPUBufferView : public CPUResourceView -- cgit v1.2.3