diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-11-18 16:11:25 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-11-18 18:19:45 -0800 |
commit | c05ccc1ebde177646ac09c1bd6d1b4719e745f82 (patch) | |
tree | 00f466ea133c468504d2f91e1839a65111ed8811 /src/gallium | |
parent | ad87f2ddc7e6b95e3dd5bbe4d2b19703d305c74e (diff) |
ir_to_mesa: Generate smarter code for some conditional moves
Condiation moves with a condition of (a < 0), (a > 0), (a <= 0), or (a
>= 0) can be generated with "a" directly as an operand of the CMP
instruction. This doesn't help much now, but it will help with
assembly shaders that use the CMP instruction.
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions