diff options
author | Samuel Pitoiset <[email protected]> | 2016-06-06 21:12:15 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2016-06-06 22:56:04 +0200 |
commit | 08ddfe7b2fa9f577ba00c8c05c5604460942f5a8 (patch) | |
tree | c5087e6f676f9bb2d72e702dc1616b4ea37b710b /src/compiler/glsl/glsl_to_nir.cpp | |
parent | 00e6899ae56e362e108a72603d6b901a22c3e280 (diff) |
nv50/ir: use round toward 0 when converting doubles to integers
Like floats, we should use the round toward 0 mode instead of the
nearest one (which is the default) for doubles to integers.
This fixes all arb_gpu_shader_fp64 piglits which convert doubles to
integers (16 tests).
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Cc: "11.2 12.0" <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glsl_to_nir.cpp')
0 files changed, 0 insertions, 0 deletions