diff options
author | Francisco Jerez <[email protected]> | 2015-02-06 14:38:20 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-02-10 19:09:25 +0200 |
commit | aef83957e1e13ecb96df436d53373ecc4cedeb08 (patch) | |
tree | a400b93bd0d32410407db97934d4e9a86358208f /m4 | |
parent | 64fde7b31c419685aa8ef6060828e21b9a11ef51 (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