Zebediah Figura (@zfigura) commented about tests/hlsl/arithmetic-int.shader_test:
draw quad probe all rgba (0.0, 0.0, 0.0, 0.0)
-[pixel shader fail] +[pixel shader fail(sm<6)] float4 main() : SV_TARGET
Ah, so sm6 doesn't forbid you from dividing by zero anymore. What do these return? Can we add a [test] section for cases like this? (I assume it's INF, but still.)
I wouldn't mind if it's a follow-up patch, but in cases like this the compilation is likely to be non-obvious, so I'd like to see it actually tested.