diff options
author | Iago Toral Quiroga <[email protected]> | 2017-10-16 12:43:52 +0200 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2017-10-19 11:27:12 +0200 |
commit | 2d87caa279ea319fa89572fb8595a46c05a615c4 (patch) | |
tree | c608d2b2430506dfe9829c6ec77990a09fb1a911 /src/compiler/shader_info.h | |
parent | 16631ca30ea6d6eec8101f07d97a55b2210026e8 (diff) |
glsl/linker: produce error when invalid explicit locations are used
We only need to add a check to validate output locations here. For
inputs with invalid locations we will fail to link when we can't
find a matching output in the same (invalid) location.
v2: compute location slots properly depending on shader stage and
variable type / direction
Fixes:
KHR-GL45.enhanced_layouts.varying_location_limit
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/compiler/shader_info.h')
0 files changed, 0 insertions, 0 deletions