Skip to content

glsl: test globals are handled correctly across stage

Timothy Arceri requested to merge tarceri/piglit:opt_tree_graft_bug into main

This test verifies that the compiler properly handles globals used across multiple shaders of the same stage. This test exposes a bug in mesa where it incorrectly assumed w = y; was the only time y was dereferenced and so just set w directly leaving y unassigned.

Mesa bug report: mesa#10482 (closed)

Edited by Timothy Arceri

Merge request reports

Loading