summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/program.h
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2013-07-30 17:16:17 +0200
committerRoland Scheidegger <[email protected]>2013-08-02 03:49:57 +0200
commit7a72bef47e8731276ac4ca0b8c4d6d50366c1ec2 (patch)
treee078857748b65edd5236726536ced66110b21319 /src/mesa/program/program.h
parent606132b4def69f7c5fa0fa436259e2fd163b0768 (diff)
tgsi: obey clarified shift behavior
c shifts are undefined for shift counts exceeding (or matching) bit width, so need to apply a mask (on x86 it actually would usually probably work as shifts do masking on int domain shifts - unless some auto-vectorizer would come along at last as simd domain does not mask the shift count). Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/program/program.h')
0 files changed, 0 insertions, 0 deletions