diff options
author | Ian Romanick <[email protected]> | 2011-11-07 10:58:00 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-11-09 10:50:35 -0800 |
commit | 6f5c73797087c6e7842665f84e41caedea59bb65 (patch) | |
tree | 7aa3e7015a88183c887fe95cb561a7c4cdea4eff /src/glsl/strtod.h | |
parent | 1d1c0fa2f31de5190909c869452ae9a2e23bba00 (diff) |
glsl: Clamp vector indices when lowering to swizzles
This prevents other code from seeing a swizzle of the 16th component
of a vector, for example.
NOTE: This is a candidate for the 7.11 branch.
Signed-off-by: Ian Romanick <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42517
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Tested-by: Christian Holler <[email protected]>
Diffstat (limited to 'src/glsl/strtod.h')
0 files changed, 0 insertions, 0 deletions