diff options
author | Ian Romanick <[email protected]> | 2018-06-26 18:30:09 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-07-09 09:24:45 -0700 |
commit | 7dd72c1c8a45f044435d14f6103c074889dfccc6 (patch) | |
tree | eae1733168755f3dfb47393e0673d179552dfa22 /src/compiler/SConscript.spirv | |
parent | c1027505f94e5b968ee9ce31ec2666c42ac72d97 (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]>
(cherry picked from commit 9626ea497de8af5580ee3af76df79ad8083c5922)
Diffstat (limited to 'src/compiler/SConscript.spirv')
0 files changed, 0 insertions, 0 deletions