summaryrefslogtreecommitdiffstats
path: root/src/glx/glxcurrent.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2018-06-26 18:30:09 -0700
committerIan Romanick <[email protected]>2018-07-06 16:20:07 -0700
commit9626ea497de8af5580ee3af76df79ad8083c5922 (patch)
treec6423437b0e8cb11634ceec8f0809a9b414fd85f /src/glx/glxcurrent.c
parent88bd37c01060169b451ca2c3900830342d34a9a2 (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/glx/glxcurrent.c')
0 files changed, 0 insertions, 0 deletions