diff options
author | Roland Scheidegger <[email protected]> | 2013-07-30 17:16:17 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-08-02 03:49:57 +0200 |
commit | 7a72bef47e8731276ac4ca0b8c4d6d50366c1ec2 (patch) | |
tree | e078857748b65edd5236726536ced66110b21319 /src/mesa/program | |
parent | 606132b4def69f7c5fa0fa436259e2fd163b0768 (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')
0 files changed, 0 insertions, 0 deletions