1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[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

View File

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