summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_ureg.h
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2016-01-08 14:03:38 +0000
committerJose Fonseca <[email protected]>2016-01-08 20:06:59 +0000
commit208bfc493debe0344d0b9cb93975981f14412628 (patch)
tree65367a25f4068e0b85832ac3b64c553702a41370 /src/gallium/auxiliary/tgsi/tgsi_ureg.h
parente378184d9c31a4b8f67cf1b75f401f2d5c54782a (diff)
glsl: Ensure 64bits shift is used.
I believe that `1u << x`, where x >= 32 yields undefined results according to the C standard. Particularly MSVC says `warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)`. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ureg.h')
0 files changed, 0 insertions, 0 deletions