arb_vertex_type_10f_11f_11f_rev: remove GL3isms from tests

While the extension does technically require GL3, it's only
really required for the new error language added to
VertexAttribIPointer.

V2: Bind attrib locations before linking as required.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Eric Anholt <eric@anholt.net>
KHR_debug: test glObjectPtrLabel() if OpenGL is 3.1 or greater

glFenceSync is only supported if the GL version is 3.2 or greater, or if
the ARB_sync extension is supported.

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Reviewed-by Fabian Bieler <fabianbieler@fastmail.fm>
KHR_debug: Add debug-object-label support for GLES

For GLES the KHR_debug extension requires a KHR suffix to all functions and
tokens.

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Reviewed-by Fabian Bieler <fabianbieler@fastmail.fm>
KHR_debug: Add debug-push-pop-group test GLES support

Added KHR suffix for GLES2 spec accordance.

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Reviewed-by: Fabian Bieler <fabianbieler@fastmail.fm>
shader_runner: Don't try to use more clipplanes than supported.

Test the clip plane number against the implementation dependent value of
GL_MAX_CLIP_PLANES rather than the enum directly.

Signed-off-by: Fabian Bieler <fabianbieler@fastmail.fm>
Reviewed-by: Brian Paul <brianp@vmware.com>
gleantest_tests.py: Adds test for erroneous pass in GleanTest

Glean tests report pass when returning a code 127 (library not found),
this is obviously false, since the tests didn't run they could not
pass.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
gleantest.py: If returncode is not 0 mark tests as fail

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Status: Skip and NotRun should not show up in fixes and regressions

This adds tests to demonstrate the above status is true. It also updates
the docstrings in status.py to reflect this change.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
summary_tests: Add tests to for status change attribute assignment

Summary stores sets of tests that are known to be of a certain status
(changes, fixes, regressions, etc). These tests take known status
combinations and ensure that they are added to the appropriate list.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
summary_tests.py: Add tests for enabled and disabled sets

Tests that are (notrun||skip) -> !(notrun||skip) should be marked as
enabled, and the converse should be marked as disabled

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
status: Make NOTRUN and SKIP a special class

SKIP and NOTRUN are changed to a special class that when compared with
=<, <, >, or >= will always return False. This is because we want to
consider NOTRUN <-> * and SKIP <-> * as not regressions or fixes,
instead we want to catch them and add them to special enabled and
disabled lists.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
summary.py: Add tests to enabled and disabled lists

This plumbs in all of the other changes.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
khr_debug: Use gl function pointer types.

Use gl's PFNGL*PROC types for function pointers instead of explicitly
specifying the type. This works on all platforms regardless what calling
convention the functions use.

Signed-off-by: Fabian Bieler <fabianbieler@fastmail.fm>
Remove asmparsertest/shaders/ARBvp1.0/address-06.txt

This test cannot pass with Mesa because Mesa allows greater relative offsets,
because some apps use them and proprietary drivers allow them too.

Reviewed-by: Brian Paul <brianp@vmware.com>
gl-3.2/3.3-minmax: fix GL_NUM_COMPRESSED_TEXTURE_FORMATS limit checking

Reviewed-by: Brian Paul <brianp@vmware.com>
arb_vertex_program/minmax: fix fragment program limit checking

Reviewed-by: Brian Paul <brianp@vmware.com>
arb_internalformat_query/api-errors: SNORM is color-renderable, RGB9_E5 isn't

Reviewed-by: Brian Paul <brianp@vmware.com>
fbo-generatemipmap-array: test a non-renderable and a compressed format

This extends the test to test _mesa_generate_mipmap (software fallback).

Reviewed-by: Brian Paul <brianp@vmware.com>
fbo-generatemipmap-cubemap: new test for cubemaps and cube arrays

v2: load cubemap faces using a loop

Reviewed-by: Brian Paul <brianp@vmware.com>
fbo-generatemipmap-1d: new test for mipmap generation of 1D textures

Reviewed-by: Brian Paul <brianp@vmware.com>