[Mesa-dev] [Bug 30318] [glsl2] glean glsl1 test "texcoord varying" does not work

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 22 09:47:57 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=30318

--- Comment #1 from Ian Romanick <idr at freedesktop.org> 2010-09-22 09:47:57 PDT ---
We removed this test from the piglit list because we determined that the test
was incorrect.  By default gl_TexCoord is declared as 'vec4 gl_TexCoord[]'
(dimensionless).  The spec says that an array accessed with an index that is
not a constant valued expression must be dimensioned.

Here's the piglit commit:

commit c6146f121e2f9319aa87631dcc024b208acf7829
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Aug 5 16:20:15 2010 -0700

    glean: Flag the glsl1 test "texcoord varying" as being invalid GLSL.

    It accesses the builtin unsized array gl_TexCoord[] with a
    non-constant expression without sizing the array first.  See piglit
    glsl-texcoord-array for a working version of this tset.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list