diff options
author | Ian Romanick <[email protected]> | 2018-01-05 18:43:32 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2018-01-10 07:21:12 -0800 |
commit | 336afe7d7a8e066e1286bb93791d5c3d96ccc317 (patch) | |
tree | 98c33616b7afdd4bebc081cfe63b3a69a93cfcf4 /src/compiler/glsl/opt_array_splitting.cpp | |
parent | 0c9df36157aca1e725f037e5adc54100aa387bd3 (diff) |
glsl/linker: Safely generate mask of possible locations
If MaxAttribs were ever raised to 32, undefined behavior would occur.
We had already gone to the effort (albeit incorrectly) handle this in
one case, so fix them all.
CID: 1369628
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Diffstat (limited to 'src/compiler/glsl/opt_array_splitting.cpp')
0 files changed, 0 insertions, 0 deletions