summaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_named_interface_blocks.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-01-14 23:27:03 -0800
committerKenneth Graunke <[email protected]>2016-01-15 17:53:44 -0800
commitd54a70aa18a0139a5eefbc5193fabaf739317533 (patch)
treea39030390a733694b8a3345bb435a3829e5c1db4 /src/glsl/lower_named_interface_blocks.cpp
parent61b0cfd84ee6fb1273928ee2c8751301ae805eaa (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/glsl/lower_named_interface_blocks.cpp')
0 files changed, 0 insertions, 0 deletions