GLSL 1.50: Test that layout qualifier ids can be listed in any order
GLSL 1.50: Test disallowed layouts is VS and FS

Three tests: Vertex input, vertex output, fragment output
GLSL 1.50: Test that layout qualifiers can only be declared in global scope

Four tests: vertex shader, fragment shader, geometry shader in/out
GLSL 1.50: Test that layout qualifier id's are not case sensitive

Four tests: fragment shader, geometry shader in/out/max_vert
Merge branch 'master' of git.freedesktop.org:/git/piglit
arb_texture_view: Include OpenGL directories.

Fixes OpenBSD build errors.

freeglut_std.h:122:19: error: GL/gl.h: No such file or directory
freeglut_std.h:123:20: error: GL/glu.h: No such file or directory

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
GL 3.2: Test functionality of GetBufferParameteri64v()

Reviewed-by: Paul Berry <stereotype441@gmail.com>
GL 3.2: Test functionality of GetInteger64i_v()

Reviewed-by: Paul Berry <stereotype441@gmail.com>
GL 3.2: Test functionality of GetInteger64v()

Reviewed-by: Paul Berry <stereotype441@gmail.com>
Add the int64 query function tests to all.tests
Fix categorization of AMD_performance_monitor and ARB_vertex_array_bgra

I accidentally didn't put these in the spec/ hierarchy.  They shouldn't
be top level.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
summary: Include traceback in the summary files.

If the Python framework fails to run a program for some reason, it'll
record a 'fail' status.  It also records a 'traceback' key in the
dictionary.

The new summary code missed this when writing the test detail page,
resulting in tests marked as 'fail' with no indication as to why.

Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
glean/tstencil2: adjust test to do what it says

Comment is indicating it will decr stencil to 6 by stencil fail
But test was configured to incr stencil by sfail, in reality it worked
because it actually passed stencil and hence would use the zpass decr.
Change it to match comment, and change the other values a bit as well
(to make sure errors are caught when some implementation applies both
sfail and zfail (or zpass) ops, an error undetected so far in llvmpipe...)

Reviewed-by: Brian Paul <brianp@vmware.com>
glsl-es-1.00: Fix really broken precision tests

Each of these tests contains a dummy function to work around issues with
some GLSL compilers (e.g., Apple).  Each of these dummy functions looks
like:

float f() {
    return 0.0;
}

Since most of the tests don't define a default precision for float,
*ALL* of the fragment shader tests should fail to compile.  Oops.  Work
around this by changing the dummy function to:

void f() { }

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Cc: Tom Gall <tom.gall@linaro.org>
glsl-es-1.00: Verify that the default precision is properly scoped

The GLSL ES 1.00 spec says that the default precision for a type is
scoped the same way as variables (see the tests for the actual spec
qutotation).  These tests verify that the compiler implements those
rules for the fragment shader.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
glsl-es-1.00: Verify that the default precision can be set multiple times in one scope

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
glsl-es-1.00: Add more missing fragment shader float precision qualifiers

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Cc: Tom Gall <tom.gall@linaro.org>
etc1/etc2: Add missing fragment shader float precision qualifier

v2: Add etc1 fixes suggested by Anuj.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
glsl-1.30: Allow empty declarations with precision qualifier

This compiles on both NVIDIA (304.64 on GTX 260) and AMD (Catalyst
12.06 on Radeon HD 3650).  It also compiles on all versions of Mesa
that support GLSL 1.30.

v2: Fix typo in comment noticed by Anuj.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
OES_standad_derivatives: Add missing fragment shader float precision qualifier

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>