diff options
author | Iago Toral Quiroga <[email protected]> | 2017-10-24 10:21:13 +0200 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2017-10-26 08:40:14 +0200 |
commit | b9446172249f05f577072f09ea17a391f3ee5d90 (patch) | |
tree | 2569e2087948e7f2484860c2b1d8af853d3c39b3 /src/glx/glx_error.c | |
parent | 16cfbef44cf0b196992bd06cb3521e70d1903033 (diff) |
glsl/linker: report linker errors for invalid explicit locations on inputs
We were assuming that if an input has an invalid explicit location it would
fail to link because it would not find the corresponding output, however,
since we look for the matching output by indexing the explicit_locations
array with the input location, we still need to ensure that we don't index
out of bounds.
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/glx/glx_error.c')
0 files changed, 0 insertions, 0 deletions