GL-3.2 ARB_vertex_array_bgra: Test for INVALID_VALUE

Reviewed-by: Matt Turner <mattst88@gmail.com>
textureSize/texelFetch: relax version requirement

Allow GLSL 1.30 + GL 2.1 + EXT_gpu_shader4.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Matt Turner <mattst88@gmail.com>
gl.spec: move some shared bits to EXT_gpu_shader4

If there's one extension that's going to be useful on non-NVIDIA, it's
the EXT one. Put all its entrypoints there, rather than shooting
ourselves in the foot by putting a bunch of them in NV_gpu_program4 /
NV_vertex_program4.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
glsl-1.50/execution: Move declarations to start of block.

Should fix MSVC build, and silences
"ISO C90 forbids mixed declarations and code" on gcc.
gitignore: add generated_tests/cl/

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Convert some tests to use PIGLIT_GL_TEST_CONFIG_* macros.

These tests aren't doing anything fancy in main(), so they can use
PIGLIT_GL_TEST_CONFIG_BEGIN and PIGLIT_GL_TEST_CONFIG_END.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
framework: allow locals to be declared in piglit config block.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
framework: parse piglit core args during piglit_gl_test_config_init()

This makes it safe to examine argc and argv between
PIGLIT_GL_TEST_CONFIG_BEGIN and PIGLIT_GL_TEST_CONFIG_END, since
piglit fragmework arguments have already been stripped away.

That in turn means that the following tests can use
PIGLIT_GL_TEST_CONFIG_{BEGIN,END} instead of having to declare their
own main() functions:

- spec/arb_texture_buffer_object/formats.c
- spec/gl-3.0/required-renderbuffer-attachment-formats.c
- spec/gl-3.0/required-sized-texture-formats.c
- spec/gl-3.0/required-texture-attachment-formats.c
- spec/gles-3.0/oes_compressed_etc2_texture-miptree.c

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
glsl-1.50 compiler: Test fragment and vertex shader input/output can be structs

Reviewed-by: Paul Berry <stereotype441@gmail.com>
glsl-1.50 execution: Test shaders for struct capability

Reviewed-by: Paul Berry <stereotype441@gmail.com>
arb_map_buffer_range/invalidate: test CopyBufferSubData used for vertex uploads
texelFetch: check GL_MAX_INTEGER_SAMPLES

and reindent
shader_runner: stick to the default GL_LUMINANCE depth mode

GL_DEPTH_TEXTURE_MODE cannot be changed in the core profile.
glsl-1.40/glsl-fs-shadow2DRect: make it independent of the default depth mode

The default depth texture mode is GL_LUMINANCE and GL_RED
in the compatibility and core profile, respectively.
util: add a way to query if the profile is Core
arb_texture_buffer_object/get: fix the default texture buffer format
summary.py: Fix a comment

A previous patch rewrapped a comment, and accidently removed a word
rather than a hash. This fixes it by removing the extra hash and
reinserting the removed word.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
summary: Add 'Not Run' back to changes page

This change seems to have slipped under the radar, and the previous
behavior seems more desireable. Therefore, this patch reverts Piglit to
include tests with status "Not Run" back to the changes page.

Tested-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
glsl-1.50: Test the minimum maximum of gl_MaxCombinedTextureImageUnits

The new minimum maximum for gl_MaxCombinedTextureImageUnits is 48

Reviewed-by: Matt Turner <mattst88@gmail.com>
glsl-1.50: Test the minimum maximum of gl_MaxVaryingFloats

The new minimum maximum for gl_MaxVaryingFloats is 60

Reviewed-by: Matt Turner <matts88@gmail.com>