diff options
Diffstat (limited to 'tools/gfx/d3d12/d3d12-pipeline-state.cpp')
| -rw-r--r-- | tools/gfx/d3d12/d3d12-pipeline-state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/d3d12/d3d12-pipeline-state.cpp b/tools/gfx/d3d12/d3d12-pipeline-state.cpp index adfdcd518..35313f676 100644 --- a/tools/gfx/d3d12/d3d12-pipeline-state.cpp +++ b/tools/gfx/d3d12/d3d12-pipeline-state.cpp @@ -240,7 +240,7 @@ Result PipelineStateImpl::ensureAPIPipelineStateCreated() SIZE_T(programImpl->m_shaders[0].code.getCount()) }; #ifdef GFX_NVAPI - if (m_nvapi) + if (m_device->m_nvapi) { // Also fill the extension structure. // Use the same UAV slot index and register space that are declared in the shader. |
