diff options
author | Kenneth Graunke <[email protected]> | 2016-01-14 23:27:03 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-01-15 17:53:44 -0800 |
commit | d54a70aa18a0139a5eefbc5193fabaf739317533 (patch) | |
tree | a39030390a733694b8a3345bb435a3829e5c1db4 /src/gallium/auxiliary/os/os_misc.h | |
parent | 61b0cfd84ee6fb1273928ee2c8751301ae805eaa (diff) |
glsl: Allow implicit int -> uint conversions for bitwise operators (&, ^, |).
The ARB has decided that implicit conversions should be performed for
bitwise operators in future language revisions. Implementations of
current language revisions may or may not perform them.
This patch makes Mesa apply implicti conversions even on current
language versions. Applications appear to expect this behavior,
and there's really no downside to doing so.
Fixes shader compilation in Shadow of Mordor.
Bugzilla: https://www.khronos.org/bugzilla/show_bug.cgi?id=1405
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src/gallium/auxiliary/os/os_misc.h')
0 files changed, 0 insertions, 0 deletions