diff options
author | Tapani Pälli <[email protected]> | 2018-06-06 14:19:16 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2018-10-31 14:53:47 +0200 |
commit | 27f1298b9d95899c4061294e384fadfd1c0a1b44 (patch) | |
tree | 7c5c3591119417ca888777205f6420163c114518 /doxygen/vbo.doxy | |
parent | a96749b13ca9446155964ddd32379251b822f6f8 (diff) |
glsl/linker: validate attribute aliasing before optimizations
Patch does a 'dry run' of assign_attribute_or_color_locations before
optimizations to catch cases where we have aliasing of unused attributes
which is forbidden by the GLSL ES 3.x specifications.
We need to run this pass before unused attributes may be removed and with
attribute binding information from program, therefore we re-use existing
pass in linker rather than attempt to write another one.
This fixes WebGL2 test 'gl-bindAttribLocation-aliasing-inactive' and
Piglit test 'gles-3.0-attribute-aliasing'.
Signed-off-by: Tapani Pälli <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106833
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'doxygen/vbo.doxy')
0 files changed, 0 insertions, 0 deletions