Skip to content

tests: fix some test fail when mesa linker optimize out some uniform

Qiang Yu requested to merge yuq825/piglit:topic/try-set-uniform into main

These tests fail due to not be able to get uniform location after mesa introduces varying assigned from uniform optimization which will eliminate these uniforms passing through varyings.

See mesa!12613 (merged)

v2: add dummy uniform for tests to prevent linker optimization take effect and keep these tests' functionality.

Edited by Qiang Yu

Merge request reports

Loading