summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-12-06 23:49:48 -0500
committerIlia Mirkin <[email protected]>2015-12-30 12:29:07 -0500
commitd50e6128b815595f7918d6818e8a9cd20d53efd1 (patch)
tree0ea53709665e534c3d0cdcdfa71e6d7e863f473e /src/gallium/auxiliary/tgsi
parent97685ff10e0f866d809fc1e8f115fb6e92ce717c (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