cl: Add a test for the phatk kernel used for bitcoin mining
arb_shading_language_420pack: Add line continuation test.
arb_shading_language_420pack: Add UTF-8 test.
arb_shading_language_420pack: Add vec.length() test.
arb_shading_language_420pack: Add mat.length() test.
arb_shading_language_420pack: Add negative scalar.length test.
arb_shading_language_420pack: Add scalar swizzle test.
arb_shading_language_420pack: Add test for implicit conversion of return types.
arb_shading_language_420pack: Test non-const expr initializer of const var.
arb_shading_language_420pack: Test that global const vars cannot be non-const expressions.
arb_shading_language_420pack: Add to all.tests.
glsl-1.10: Test that returning void from a void function is illegal.
glapi: Fix a comment about category names.

Looking at gl.spec and the regexps, that's not what this function did.

v2: Fix incorrect "GL_" prefix, noted by Paul.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
piglit: Make callers of piglit_dispatch_default_init() specify the API.

To automatically detect the current API, we'd need to make calls to
piglit_is_gles() and piglit_get_gl_version(), while bypassing the
dispatch mechanism we're trying to initialize.  That seems tricky,
while the context type is probably going to be known by the caller
when we extend dispatch to GLES tests.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
util: Remove PIGLIT_DISPATCH_GL_FWD.

Since I'm making the first actual use of this api parameter, and I
don't know what it would have done, just remove it.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
piglit: Prefer waffle's getprocaddress/dlsym() support to our own.

Notably, waffle has EGL bits which this stuff doesn't.  We can't
globally enable this and remove the old platform-specific
dlsym/getprocaddress code, because waffle isn't always built against
yet, and even when we're building against it, it's not used in some of
the EGL/GLX tests (yet, at least).

v2: Note that the non-waffle functions are ignored in the waffle
    build.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
gen_dispatch: Convert tabs to spaces here, too.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
glapi: Factor out adding a function to the API.

This will be shared with GLES code, and modified to support multiple
categories (GL versions or extensions) defining the same function
name.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
glapi: Allow one function name to be in multiple categories.

The gl.spec file doesn't list the same function name in multiple
categories even when it should (such as glGenQueries between core nad
GL_EXT_timer_query), so it hasn't been handled, even though it is a
bug in piglit_dispatch.  With the gl2ext.h parsing for GLES2 our data
source will be giving us instances of this that we need to handle
successfully, so add support for it now.

This also means we'll be able to add annotation of gl.spec for
additional categories for functions if we find we need to.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
glapi: Add dispatch generation support for GLES APIs.

There's no incoming data yet to trigger this code, though.

Reviewed-by: Paul Berry <stereotype441@gmail.com>