summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2015-02-06 14:38:20 +0200
committerFrancisco Jerez <[email protected]>2015-02-10 19:09:25 +0200
commitaef83957e1e13ecb96df436d53373ecc4cedeb08 (patch)
treea400b93bd0d32410407db97934d4e9a86358208f /m4
parent64fde7b31c419685aa8ef6060828e21b9a11ef51 (diff)
i965: Handle negated unsigned immediate values in constant propagation.
Negation of UD/UW sources behaves the same as for D/W sources, taking the two's complement of the source, except for bitwise logical operations on Gen8 and up which take the one's complement. Fixes crash in a GLSL shader with subtraction of two unsigned values. Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions