summaryrefslogtreecommitdiffstats
path: root/tools/gfx/d3d11/render-d3d11.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-11-22 11:24:25 -0800
committerGitHub <noreply@github.com>2021-11-22 11:24:25 -0800
commitfd46034bf2de59b8ad51743e62b26359678432f7 (patch)
tree2879aac8cc49fea87fa2c168e69afae5c6e7b5df /tools/gfx/d3d11/render-d3d11.cpp
parent87eb789ae03cbd7a79d5433cefb37f10bec86753 (diff)
gfx: Add more fixed function states and instancing draw calls. (#2023)
* gfx: Add more fixed function states and instancing draw calls. * Fix clang error. * Fix clang. * Fixes. * Add `AccelerationStructureCurrentSize` enum. Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/d3d11/render-d3d11.cpp')
-rw-r--r--tools/gfx/d3d11/render-d3d11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/d3d11/render-d3d11.cpp b/tools/gfx/d3d11/render-d3d11.cpp
index 304c0c91e..78cd5b61a 100644
--- a/tools/gfx/d3d11/render-d3d11.cpp
+++ b/tools/gfx/d3d11/render-d3d11.cpp
@@ -3845,7 +3845,7 @@ Result D3D11Device::createGraphicsPipelineState(const GraphicsPipelineStateDesc&
}
dstDesc.IndependentBlendEnable = srcDesc.targetCount > 1;
- dstDesc.AlphaToCoverageEnable = srcDesc.alphaToCoverateEnable;
+ dstDesc.AlphaToCoverageEnable = srcDesc.alphaToCoverageEnable;
SLANG_RETURN_ON_FAIL(m_device->CreateBlendState(
&dstDesc,