piglit-fbo: Add variable color_format to configure non-multisample fbo

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
arb_sample_shading: Use integer texture to simplify the test

Also, case of non-multisample color buffer is not handled correctly
in the test. Move it inside the shader program.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
builtin-gl-sample-id: Add testing for fbo with renderbuffer attachment

Existing test only covers the drawing to texture attachment with a
sample mask. This patch extends the test to include drawing to
renderbuffer attachment. This might help capture the bugs where
drawing to a texture differ from drawing to a renderbuffer.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
builtin-gl-sample-mask: Add testing for fbo with renderbuffer attachment

Existing test only covers the drawing to texture attachment with a
sample mask. This patch extends the test to include drawing to
renderbuffer attachment. This might help capture the bugs where
drawing to a texture differ from drawing to a renderbuffer.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Rename oglconfirm.py to oglconform.py.

Botched in commit cdfbf724df8c01eb4d7723abe73985594dd46550.
arb_gpu_shader5: test setting the invocations count in a separate GS

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
line-flat-clip-color: test flat-shaded line clipping color

This exercises a bug found in Mesa with softpipe, llvmpipe and swrast

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Add test to verify interpolation at sample position

ARB_sample_shading extension says:
 "When the sample shading fraction is 1.0, a separate set of colors
  and other associated data are evaluated for each sample, each set
  of values are evaluated at the sample location."

Test passes on intel hardware with mesa patch: 'i965: Use sample
barycentric coordinates with per sample shading'.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Add test to verify 'centroid' qualifier is ignored in case of persample shading

Here is what it tests:
Enable sample shading for the whole fragment shader using OpenGL API
glEnable(GL_SAMPLE_SHADING);
glMinSampleShading(1.0);

fragment shader:
centroid in vec4 b;
main()
{
  ...
}

Variable 'b' should be interpolated at sample's location.

V2: Use just one 'in' variable with the 'centroid' qualifier.
Another test already covers the interpolation of 'in' variable
without any 'qualifier'. This change also captures the mesa bug
reported on i965 driver:
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73915

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Logical operators 'and' and 'or' are supported until OpenCL version 1.2.

According to spec 1.1 Chapter 6.3 bullet g:
The logical operators and (&&), or (||) operate on all scalar and vector built-in types except
the built-in scalar and vector float types.

Signed-off-by: Yi Sun <yi.sun@intel.com>
Signed-off-by: Yangwei Shui <yangweix.shui@intel.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Test that "continue" works properly inside a do-while loop.
Test that "continue" works in a switch statement within a do-while loop.
Revert "framework: Add support for a test timeout"

This reverts commit ab2eb660925e3680e868c5f469a4ef32e6dd9a59.

Conflicts:
	framework/status.py
WIP: loop analysis tests