From fd46034bf2de59b8ad51743e62b26359678432f7 Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 22 Nov 2021 11:24:25 -0800 Subject: 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 --- tools/gfx/d3d11/render-d3d11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/gfx/d3d11/render-d3d11.cpp') 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, -- cgit v1.2.3