arb_map_buffer_range: remove config.window_width/height lines

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
arb_texture_float: remove config.window_width/height lines

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
ext_fog_coord: remove config.window_width/height lines

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
arb_texture_storage: remove config.window_width/height lines

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
arb_sampler_objects: remove config.window_width/height lines

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
ext_texture_array: remove config.window_width/height lines

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
cubemap-shader: add a cubemap test that checks for lod related issues

While adding cube map arrays to r600g I noticed no test actually tested
whether the explicit lod or lod bias on cubemaps was actually being
used. This test is a variant on the cubemap test that contains 3 variants,

plain cubemap with shader,
cubemap sampling with lod bias
cubemap sampling with explicit lod.

This test currently fails on r600g due to the bug, which I shall fix soon.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Revert "arb_texture_cube_map_array: textureSize only applies to samplerCubeArray."

This reverts commit ccde8c37c2c1eb7d1b1b7451677b9f6ce9237591.

after talking to Kayden we should always test for this.

Signed-off-by: Dave Airlie <airlied@redhat.com>
arb_texture_cube_map_array: add shadow sampler for textureSize

missed this the first time around.

Signed-off-by: Dave Airlie <airlied@redhat.com>
push-pop-texture-state: a replacement for the fdo9833 test

This updates and renames the fdo9833.c test.

Reviewed-by: Eric Anholt <eric@anholt.net>
glsl-kwin-blur: fix regressions after default window size change

These tests probe specific pixel locations so the 100x100 size can't
be changed.  Let the window be larger, but just draw to a 100x100 region.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
Tested-by: Marek Olšák <maraeo@gmail.com>
glsl-orangebook-ch06-bump: fix regression after default window size change

The pixel probing is very sensitive to the size of the rendering so
limit it to 100x100 regardless of window size.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
Tested-by: Marek Olšák <maraeo@gmail.com>
glsl-arb-fragment-coord-conventions: fix window size regression

The test requires a 100x100 rendering.  Adjust the viewport and
probes to accomodate larger window sizes.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
Tested-by: Marek Olšák <maraeo@gmail.com>
Skip testing textures with depth-stencil formats in glGenerateMipmap

depth-stencil formats are disallowed in glGenerateMipmap because the
stencil component is not filterable.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
arb_sampler_objects: prefix all tests with "arb_sampler_objects-"

Two of the tests had the prefix, two others didn't.

v2: update all.tests too

Reviewed-by: Eric Anholt <eric@anholt.net>
framework: log output of wglinfo on Windows and Cygwin

As we do glxinfo on Linux.  Note that if wglinfo.exe isn't found
you'll see a line like this in the results file:
   "wglinfo": "Failed to run wglinfo",

Reviewed-by: José Fonseca <jfonseca@vmware.com>
piglit-print-commands: add more info, fix incorrect examples

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
vbo-map-unsync: test unsynchronized buffer mapping

v2:
Remove some trailing whitespace.
Remove glFlushMappedBufferRange() code.
Require GL_ARB_map_buffer_range
Run as concurrent test.

Reviewed-by: Eric Anholt <eric@anholt.net>
Add test to verify GL errors in glGenerateMipmap

It does error checking for glGenerateMipmap() with integer and
packed depth-stencil texture internal formats.

V2: Don't test formats which generate no error. They are covered
in other piglit tests.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
util: Kill macro glewInit

No test actually called glewInit(), because piglit-dispatch #define'd it
to piglit_dispatch_default_init().

This patch removes the macro and replaces each call to glewInit() with
piglit_dispatch_default_init().

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>