KHR_debug: test PushDebugGroup() and PopDebugGroup()

V3:
- moved piglit_display to end of the file
- made while() more readable
- added check for max values of implementation
- to avoid getting messages we are not interested in
 test_push_pop_debug_group now only filters in the message types we want

v2:
- add in subtest I accidently removed when tidying the code

Pass: Intel i965 Mesa

Fail: AMD Radeon HD 6670 - Catalyst 13.251
Catalyst doesnt accept a -1 pararmeter when it should

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Fabian Bieler <fabianbieler@fastmail.fm>
khr_debug-push-pop-group: Use constant array sizes.

MSVC doesn't support VLAs.
cl: Add use-sub-buffer-in-kernel
opencv: Fix parsing of test names

This fixes the opencv tests with the all_cl.py profile with the
latest opencv 2.4 branch.
teximage-errors: Run all the tests before returning result

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
teximage-errors: Test the combinations of depth and depth-stencil formats

This patch is to verify a bug fix in mesa commit 079bff5. This commit
allowed GL_DEPTH_COMPONENT and GL_DEPTH_STENCIL combinations in
glTexImage{123}D functions.

V2: Add extension check for GL_EXT_texture_array

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
teximage-errors: Make changes to support core profile
glsl-1.50: Add shader tests to verify gl_FragCoord redeclarations

V2: Add few more shader tests and do minor changes in tests added in V1.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
glsl-1.50: Add compiler tests to verify gl_FragCoord redeclarations

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Add test to verify overlapping locations of vertex input attributes

It is possible for an application to bind more than one
attribute name to the same location. This is referred to as
aliasing. It is allowed in: OpenGL 2.0 (and above) and
OpenGL ES 2.0. This test varifies that aliasing can be used
successfully in a vertex shader.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Add compiler tests for overlapping attribute locations

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>