aboutsummaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-mat-attribute.c
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2012-12-14 15:32:14 -0800
committerIan Romanick <ian.d.romanick@intel.com>2013-01-16 14:52:21 -0800
commite8f378e95315ad3920269eecb2e6c7c75fe58379 (patch)
treea955b79d3cf257b92517c34c3508b00a928ddcbc /tests/shaders/glsl-mat-attribute.c
parentdadf56dad25730556e36e9446aabfc80458cc12f (diff)
downloadpiglit-e8f378e95315ad3920269eecb2e6c7c75fe58379.tar.gz
Accept array uniform names with or without [0] from glGetActiveUniform
This is required by OpenGL ES 3.0 and desktop OpenGL 4.2. Previous version were ambiguous. Previously these tests failed on NVIDIA's closed-source driver (version 304.64) with the error messages: 0: f1 loc=0 size=1 type=0x1406 1: f2 loc=1 size=1 type=0x1406 2: s.a loc=2 size=1 type=0x1406 3: s.b loc=3 size=1 type=0x1406 4: s.c loc=4 size=1 type=0x1406 5: s.d loc=5 size=1 type=0x1406 6: v[0] loc=6 size=3 type=0x8b52 getuniform-02: wrong type for 'v' (found 0x8b52, expected 0x1406) and Unexpected max active uniform length (saw 9, expected 6) Unexpected active uniform length (saw 8, expected 5) for "color[0]" With these changes, both tests pass. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'tests/shaders/glsl-mat-attribute.c')
0 files changed, 0 insertions, 0 deletions