https://bugs.freedesktop.org/show_bug.cgi?id=28913
Summary: [GLSL] allowing two version statements Product: Mesa Version: git Platform: All OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Mesa core AssignedTo: mesa-dev@lists.freedesktop.org ReportedBy: gordon....@intel.com Both GLSL 1.10 and 1.20 specs say: "The #version directive must occur in a shader before anything else, except for comments and white space." But glsl/tests/glslparsertest/shaders/CorrectVersion1.V110.frag fails with below output: Successfully compiled fragment shader /GFX/Test/Piglit_ext/piglit/tests/glslparsertest/shaders/CorrectVersion1.V110.frag: (no compiler output) Output: PIGLIT: {'result': 'fail' } This piglit test case was changed as below with http://cgit.freedesktop.org/piglit/commit/?id=5752c9a33a66e91544a6af2e926833183318357b /* Only one version statement is allowed; two should raise an error. */ #version 110 #version 110 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev