WebglConformance_conformance_glsl_bugs_global_invariant_does_not_leak_across_shaders failing on Intel Mesa |
||||
Issue description
This was found after adding the test in #625363 The shaders failing compilation is:
--original-shader--
#pragma STDGL invariant(all)
void main()
{
gl_Position = vec4(1.0, 0.0, 0.0, 1.0);
}
--translated-shader--
#version 120
#pragma STDGL invariant(all)
#extension GL_ARB_gpu_shader5 : enable
void main(){
(gl_Position = vec4(0.0, 0.0, 0.0, 0.0));
(gl_Position = vec4(1.0, 0.0, 0.0, 1.0));
}
The reason this fails is a Mesa driver bug in interpreting this blurb from the GLSL spec: "the extension directives must occur before any non-preprocessor tokens.".
The behavior has been fixed in Mesa 12.0.
,
Jul 13 2016
,
Jul 13 2016
https://build.chromium.org/p/chromium.gpu.fyi/builders/Linux%20Debug%20%28New%20Intel%29/builds/2781 is green.
,
Jul 13 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/cd38fb65da3ae6cacf0aab32971b92f9b4697031 commit cd38fb65da3ae6cacf0aab32971b92f9b4697031 Author: cwallez <cwallez@chromium.org> Date: Wed Jul 13 15:11:49 2016 Roll ANGLE 9585a78..8495498 https://chromium.googlesource.com/angle/angle.git/+log/9585a78..8495498 BUG= 621031 , 627417 TBR=geofflang@chromium.org TEST=bots CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.linux:linux_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2148803002 Cr-Commit-Position: refs/heads/master@{#405153} [modify] https://crrev.com/cd38fb65da3ae6cacf0aab32971b92f9b4697031/DEPS
,
Jul 13 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/cd38fb65da3ae6cacf0aab32971b92f9b4697031 commit cd38fb65da3ae6cacf0aab32971b92f9b4697031 Author: cwallez <cwallez@chromium.org> Date: Wed Jul 13 15:11:49 2016 Roll ANGLE 9585a78..8495498 https://chromium.googlesource.com/angle/angle.git/+log/9585a78..8495498 BUG= 621031 , 627417 TBR=geofflang@chromium.org TEST=bots CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.linux:linux_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2148803002 Cr-Commit-Position: refs/heads/master@{#405153} [modify] https://crrev.com/cd38fb65da3ae6cacf0aab32971b92f9b4697031/DEPS |
||||
►
Sign in to add a comment |
||||
Comment 1 by bugdroid1@chromium.org
, Jul 12 2016