[Piglit] Rounding mode in Piglit

tournier.elie tournier.elie at gmail.com
Tue Jun 27 10:43:27 UTC 2017


Hello list,

The GLSL spec said "The rounding mode cannot be set and is undefined"
but in Piglit, we implicitly define a rounding mode.
Indeed, in some test like
"generated_tests/spec/arb_gpu_shader_fp64/execution/conversion/vert-conversion-explicit-double-uint.shader_test",
we check if uint(1.9467) == 1.
Depending on the rounding mode, we can have uint(1,9467) = 1 or
uint(1,9467) = 2.

Is it normal or should we change the tests to allow these 2 values?

Elie


More information about the Piglit mailing list