diff options
author | Francisco Jerez <[email protected]> | 2017-01-24 12:26:54 -0800 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2017-01-31 10:32:43 -0800 |
commit | 69042a5be4664c7928a21bd23e4f6795bfb19f60 (patch) | |
tree | 3252b6a3bd9ac89788aee548fbba05bcb5b4046f /src/compiler/spirv | |
parent | 7ec3af3f8ff6584542f029c28abc2bcae1402259 (diff) |
i965/fs: Fix nir_op_fsign of absolute value.
This does point at the front-end emitting silly code that could have
been optimized out, but the current fsign implementation would emit
bogus IR if abs was set for the argument (because it would apply the
abs modifier on an unsigned integer type), and we shouldn't rely on
the upper layer's optimization passes for correctness.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/compiler/spirv')
0 files changed, 0 insertions, 0 deletions