On Thu Oct 19 06:02:53 2023 +0000, Francisco Casas wrote:
This test actually compiles in ps_2_0 and ps_3_0.
It does compile, but results are broken. That's what I get on Windows:
`shader_runner:683: Section [test], line 51: Test failed: Got {8.40779079e-045, 9.80908925e-045, -1.#QNAN000e+000, 4.20389539e-045}, expected {6.00000000e+000, 7.00000000e+000, -1.00000000e+000, 3.00000000e+000} at (0, 0).`
That happens because of the lack of itof conversion on SM3. So ints we set are returned as is, after ceil() is optimized away for integers.