diff options
author | Ian Romanick <[email protected]> | 2018-06-26 18:30:09 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2018-07-06 16:20:07 -0700 |
commit | 9626ea497de8af5580ee3af76df79ad8083c5922 (patch) | |
tree | c6423437b0e8cb11634ceec8f0809a9b414fd85f /src/intel/compiler/brw_fs.cpp | |
parent | 88bd37c01060169b451ca2c3900830342d34a9a2 (diff) |
i965/vec4: Properly handle sign(-abs(x))
This is achived by copying the sign(abs(x)) optimization from the FS
backend.
On Gen7 an earlier platforms, this fixes new piglit tests:
- glsl-1.10/execution/vs-sign-neg-abs.shader_test
- glsl-1.10/execution/vs-sign-sat-neg-abs.shader_test
Signed-off-by: Ian Romanick <[email protected]>
Cc: [email protected]
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_fs.cpp')
0 files changed, 0 insertions, 0 deletions