summaryrefslogtreecommitdiffstats
path: root/tools/gfx/d3d12/render-d3d12.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2021-02-08 17:49:45 -0500
committerGitHub <noreply@github.com>2021-02-08 17:49:45 -0500
commit10a55d8fa21591e3ac783e05f9b542e7b42f1c4c (patch)
tree6c5535d4d00443bf39646cd4502a90932ad88b1e /tools/gfx/d3d12/render-d3d12.cpp
parent891791edd182fdfcba60aaacd36eaa303296f2ff (diff)
DX12 & NVAPI fixes (#1695)
* #include an absolute path didn't work - because paths were taken to always be relative. * Fix bugs with m_features on Dx12 and gl. Fix issue about GFX_NVAPI availability. * Fix handling of SLANG_E_NOT_AVAILABLE on renderer startup. * Clarify comment. * Improve comment.
Diffstat (limited to 'tools/gfx/d3d12/render-d3d12.cpp')
-rw-r--r--tools/gfx/d3d12/render-d3d12.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/gfx/d3d12/render-d3d12.cpp b/tools/gfx/d3d12/render-d3d12.cpp
index 0ab07c262..2e1959bde 100644
--- a/tools/gfx/d3d12/render-d3d12.cpp
+++ b/tools/gfx/d3d12/render-d3d12.cpp
@@ -762,8 +762,6 @@ protected:
HWND m_hwnd = nullptr;
- List<String> m_features;
-
bool m_nvapi = false;
};
@@ -1471,6 +1469,7 @@ Result D3D12Renderer::initialize(const Desc& desc, void* inWindowHandle)
m_nvapi = true;
#endif
+
}
// Find what features are supported