mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-08-19 06:52:36 +00:00
Fix SPIR-V float control contract (Preserve FP32 Inf and NaN)
This commit is contained in:
@@ -978,6 +978,10 @@ void TestNewShaderRecompilerSMovB32() {
|
||||
Check(std::find(result.spirv.begin(), result.spirv.end(), 0x12345678u) !=
|
||||
result.spirv.end(),
|
||||
"new SPIR-V emitter did not encode the literal as a binary word");
|
||||
Check(SpirvContainsCapability(result.spirv, 4466),
|
||||
"SPIR-V binary does not request signed-zero/Inf/NaN preservation");
|
||||
Check(SpirvContainsExecutionMode(result.spirv, 4461),
|
||||
"SPIR-V binary does not enable signed-zero/Inf/NaN preservation");
|
||||
CheckSpirvBinaryValidates(result.spirv);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user