diff options
author | Ilia Mirkin <[email protected]> | 2015-12-06 23:49:48 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-12-30 12:29:07 -0500 |
commit | d50e6128b815595f7918d6818e8a9cd20d53efd1 (patch) | |
tree | 0ea53709665e534c3d0cdcdfa71e6d7e863f473e /src/gallium/auxiliary/tgsi | |
parent | 97685ff10e0f866d809fc1e8f115fb6e92ce717c (diff) |
nv50/ir: attempt to do more constant folding on mad -> add conversion
The add might actually have a 0 as an argument, which would convert it
into a mov. Make sure to detect that. Also avoid the hack of putting the
immediate directly into the instruction, instead use a mov to put it
into place and let the later LoadPropagation pass place it if possible.
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
0 files changed, 0 insertions, 0 deletions