[Piglit] [PATCH 2/2] Make shader_runner add a #version directive to shaders lacking one.

2012-09-10 Thread Stuart Abercrombie
The version number is taken from the GLSL version requirement, if there is one. This is part of the effort to make version handling more flexible for GLES. --- tests/shaders/shader_runner.c | 41 ++--- 1 files changed, 34 insertions(+), 7 deletions(-) diff -

Re: [Piglit] [PATCH] Fix explicit attrib location tests layout-12|13.frag; add a new one.

2012-09-10 Thread Paul Berry
On 31 August 2012 16:06, Kenneth Graunke wrote: > The ARB_explicit_attrib_location tests layout-12.frag and layout-13.frag > were incorrect: they both used index == 2 (which is invalid) and > expected the compile to succeed. Although the extension spec doesn't > state anything about generating a