summaryrefslogtreecommitdiffstats
path: root/include/D3D9
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-04-06 16:21:28 -0500
committerNicolai Hähnle <[email protected]>2016-04-07 13:15:05 -0500
commit84c4d069ac7be1dece2f5eeed277089a79e6acbf (patch)
tree1c8c6f377e521b533fe07b8e5358b0b301de3cab /include/D3D9
parent4bfcc86bf977ac18465c7be0a0fa14354b18d7c6 (diff)
st/glsl_to_tgsi: make samplers_used an uint32_t (v2)
It is used as a bitfield, so it seems cleaner to keep it unsigned. The literal 1 is a (signed) int, and shifting into the sign bit is undefined in C, so change occurences of 1 to 1u. v2: add an assert for bitfield size and use 1u << idx Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> (v1) Reviewed-by: Marek Olšák <[email protected]> (v1)
Diffstat (limited to 'include/D3D9')
0 files changed, 0 insertions, 0 deletions