HLSL: Add explicit error for floating point atomics.
This commit is contained in:
parent
9f463569c4
commit
aafcc207ea
@ -6056,6 +6056,11 @@ void CompilerHLSL::emit_instruction(const Instruction &instruction)
|
||||
break;
|
||||
}
|
||||
|
||||
case OpAtomicFAddEXT:
|
||||
case OpAtomicFMinEXT:
|
||||
case OpAtomicFMaxEXT:
|
||||
SPIRV_CROSS_THROW("Floating-point atomics are not supported in HLSL.");
|
||||
|
||||
case OpAtomicCompareExchange:
|
||||
case OpAtomicExchange:
|
||||
case OpAtomicISub:
|
||||
|
Loading…
Reference in New Issue
Block a user