arb_clear_buffer_object: fix various deprecated formats

- Some float formats were using GL_LUMINANCE_INTEGER as the pixel format.
- Most GL_INTENSITY* internalformats were trying to use
  GL_INTENSITY as the pixel format, which has never been valid in any
  spec version.

Fixes this test against a compatibility context -- core never hits these
cases since the formats have been removed.

V2: Fix commit message; in V1 it bogusly mentioned GL_RED_INTEGER, but
the test was actually using GL_LUMINANCE_INTEGER for float luminance
formats. Oops.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Fabian Bieler <fabianbieler@fastmail.fm>
arb_draw_indirect: add test for api errors

This initial test covers the new buffer binding point and expected API errors only;
no successful Draw*Indirect calls are made.

Future tests will exercise positive cases.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
arb_draw_indirect: add new test for glDrawArraysIndirect

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
arb_draw_indirect: add test for DrawElementsIndirect

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
arb_draw_indirect: add test for DrawArraysIndirect with base instance

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
arb_draw_indirect: add test for DrawElementsIndirect with base instance

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
arb_draw_indirect: add test for glDrawElementsIndirect with primitive restart

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
arb_draw_indirect: add ugly primitive restart case

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
arb_draw_indirect: add instances test

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
arb_texture_view: add test for glCopyTexSubImage with MinLayer

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Jon Ashburn <jon@lunarg.com>
arb_texture_view: Move declarations to beginning of block.

Should fix MSVC build.

Trivial.
util/egl: Fix error message

Add missing newline to error message in piglit_egl_bind_api().

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
getteximage-targets: Refactor and cleanup with generalized texture targets

Reviewed-by: Chia-I Wu <olv@lunarg.com>
getteximage-targets: Add read texture image into PBO case for each target

Reviewed-by: Chia-I Wu <olv@lunarg.com>
arb_texture_view: add another test for rendering interaction with format change
arb_texture_view: add test for layout consistency via GetTexImage

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
arb_texture_view: Add rendering test for layout consistency

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>