diff options
author | Eric Anholt <eric@anholt.net> | 2010-08-28 22:42:01 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-08-30 10:26:05 -0700 |
commit | 4ff25c2106fb981334bdc1b032fcf37d8753ba62 (patch) | |
tree | 3025610eb9070dee7ba383aa2df4a23279fb8f54 /src/mesa/drivers/dri/i965/intel_blit.c | |
parent | 40aadafa91ef5b931436d400fedafd720d59deff (diff) |
i965: Fix the new implementation of ir_unop_sign to match brw_wm_emit.c
Like the comparison operations, this suffered from CMP only setting
the low bit. Doing the AND instructions would be the same instruction
count as the more obvious conditional moves, so do cond moves.
Fixes glsl-fs-sign and 6 other cases, like trig functions that use
sign() internally.
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_blit.c')
0 files changed, 0 insertions, 0 deletions