summaryrefslogtreecommitdiffstats
path: root/src/gallium/Android.common.mk
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2017-07-30 17:51:22 +0200
committerIlia Mirkin <[email protected]>2017-08-09 10:25:26 -0400
commit24a799ad35a824fba94062f9b018f603717ed145 (patch)
treebe402e7cc07cafd5f3d9a423641728e55b5e2544 /src/gallium/Android.common.mk
parentcc43c4a9e56a5f6dd66e6e67074c219e6f87ba26 (diff)
nv50/ir: fix ConstantFolding with saturation
For mul(a, +-1) codegen can generate OP_MOV with a saturation flag set which is ignored at emission. The same can happen with add(a, 0), and others. Adding an assert for detecting more of such issues. Fixes wrongly rendered water in Hitman Absolution running under wine. Also a few shaders in Mad Max and Alien Isolation produce such MOVs. CC: <[email protected]> Signed-off-by: Karol Herbst <[email protected]> Reviewed-by: Tobias Klausmann <[email protected]> [imirkin: generalize the fix for other cases] Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/Android.common.mk')
0 files changed, 0 insertions, 0 deletions