In mesa CI, there are intermittent (~90%) failures on this test:
Invalid inner/outer tessellation level used in TE stage; expected outer:(16.8, 8.2) rendered outer:(0, 0) vertex spacing mode: equal_spacing
Invalid inner/outer tessellation level used in TE stage at esextcTessellationShaderTCTE.cpp:3671
I wasn't able to reproduce this after looping glcts on this one test (with multiple instanced running), but it does fail if looping the full glcts.
I doublechecked this test on my Haswell (Intel® HD Graphics 4600) and caught about 30% of fails.
Here is log output of the fail:
./glcts -n "KHR-GLES31.core.tessellation_shader.tessellation_control_to_tessellation_evaluation.gl_tessLevel"
Writing test log into TestResults.qpa
dEQP Core git-c48d72686423076b78b205fdb193d142a38f747a (0xc48d7268) starting..
target implementation = 'X11 EGL/GLX'
Test case 'KHR-GLES31.core.tessellation_shader.tessellation_control_to_tessellation_evaluation.gl_tessLevel'..
Fail (Invalid inner/outer tessellation level used in TE stage at esextcTessellationShaderTCTE.cpp:3671)
Test run totals:
Passed: 0/1 (0.0%)
Failed: 1/1 (100.0%)
Not supported: 0/1 (0.0%)
Warnings: 0/1 (0.0%)
It passed 100% (100/100) on the 13.0.6 mesa (I've run it 100 times in a row having 1 sec of delay) and it got failed ~30% on the 17.0.0 mesa so I've made bisect and got following result:
e6ae19944d977dc91bc45adff679337182c20683 is the first bad commit
Author: Kenneth Graunke <email@example.com>
Date: Thu Nov 24 01:50:10 2016 -0800
My environment is: CPU Intel Core i5-4300M; GPU Intel® HD Graphics 4600; Ubuntu 16.04; kernel 4.15.0-36-generic
Hi Marina - thanks for the bisect, it really helps us understand the situation.
The bisected commit has some specific remarks about tests exceeding the uniform component limit enforced by the linker.
Ken, your commit probably preceded the coverage of glcts in CI. Is this test a reason to revisit the constant array promotion code, or should we mark as WONTFIX?
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1698.