diff --git a/src/d3d9/d3d9_fixed_function.cpp b/src/d3d9/d3d9_fixed_function.cpp index e8972e4b29b..46cdd4ec9db 100644 --- a/src/d3d9/d3d9_fixed_function.cpp +++ b/src/d3d9/d3d9_fixed_function.cpp @@ -302,7 +302,7 @@ namespace dxvk { case VK_COMPARE_OP_EQUAL: return spvModule.opFOrdEqual (boolType, alphaId, alphaRefId); case VK_COMPARE_OP_LESS_OR_EQUAL: return spvModule.opFOrdLessThanEqual (boolType, alphaId, alphaRefId); case VK_COMPARE_OP_GREATER: return spvModule.opFOrdGreaterThan (boolType, alphaId, alphaRefId); - case VK_COMPARE_OP_NOT_EQUAL: return spvModule.opFOrdNotEqual (boolType, alphaId, alphaRefId); + case VK_COMPARE_OP_NOT_EQUAL: return spvModule.opFUnordNotEqual (boolType, alphaId, alphaRefId); case VK_COMPARE_OP_GREATER_OR_EQUAL: return spvModule.opFOrdGreaterThanEqual(boolType, alphaId, alphaRefId); default: case VK_COMPARE_OP_ALWAYS: return spvModule.constBool(true); diff --git a/src/dxso/dxso_compiler.cpp b/src/dxso/dxso_compiler.cpp index 8e53cb398cd..10a7bceb962 100644 --- a/src/dxso/dxso_compiler.cpp +++ b/src/dxso/dxso_compiler.cpp @@ -1286,11 +1286,11 @@ namespace dxvk { case DxsoComparison::Equal: return m_module.opFOrdEqual (typeId, a, b); break; case DxsoComparison::GreaterEqual: return m_module.opFOrdGreaterThanEqual(typeId, a, b); break; case DxsoComparison::LessThan: return m_module.opFOrdLessThan (typeId, a, b); break; - case DxsoComparison::NotEqual: return m_module.opFOrdNotEqual (typeId, a, b); break; + case DxsoComparison::NotEqual: return m_module.opFUnordNotEqual (typeId, a, b); break; case DxsoComparison::LessEqual: return m_module.opFOrdLessThanEqual (typeId, a, b); break; case DxsoComparison::Always: return m_module.constbReplicant(true, type.ccount); break; } -} + } DxsoRegisterValue DxsoCompiler::emitValueLoad( diff --git a/src/spirv/spirv_module.cpp b/src/spirv/spirv_module.cpp index d6573b04079..288a7ac5eab 100644 --- a/src/spirv/spirv_module.cpp +++ b/src/spirv/spirv_module.cpp @@ -2494,13 +2494,13 @@ namespace dxvk { } - uint32_t SpirvModule::opFOrdNotEqual( + uint32_t SpirvModule::opFUnordNotEqual( uint32_t resultType, uint32_t vector1, uint32_t vector2) { uint32_t resultId = this->allocateId(); - m_code.putIns (spv::OpFOrdNotEqual, 5); + m_code.putIns (spv::OpFUnordNotEqual, 5); m_code.putWord(resultType); m_code.putWord(resultId); m_code.putWord(vector1); diff --git a/src/spirv/spirv_module.h b/src/spirv/spirv_module.h index 03a8f519f94..4bfbd11cd85 100644 --- a/src/spirv/spirv_module.h +++ b/src/spirv/spirv_module.h @@ -882,7 +882,7 @@ namespace dxvk { uint32_t vector1, uint32_t vector2); - uint32_t opFOrdNotEqual( + uint32_t opFUnordNotEqual( uint32_t resultType, uint32_t vector1, uint32_t vector2);