[d3d9] Fix invalid shader in fixed-function alpha test

This commit is contained in:
Philip Rebohle 2022-08-18 17:08:59 +02:00
parent 658d824ddd
commit 85cc87e42a
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 1 additions and 1 deletions

View File

@ -2377,7 +2377,7 @@ namespace dxvk {
D3D9AlphaTestContext alphaTestContext;
alphaTestContext.alphaFuncId = m_spec.get(m_module, m_specUbo, SpecAlphaCompareOp);
alphaTestContext.alphaPrecisionId = m_spec.get(m_module, m_specUbo, SpecAlphaPrecisionBits);
alphaTestContext.alphaRefId = m_module.opLoad(m_floatType,
alphaTestContext.alphaRefId = m_module.opLoad(m_uint32Type,
m_module.opAccessChain(uintPtr, m_rsBlock, 1, &alphaRefMember));
alphaTestContext.alphaId = m_module.opCompositeExtract(m_floatType,
m_module.opLoad(m_vec4Type, oC0),