piglit-summary-html.py: Replace .read().split('\n') with .readlines()

This is equivalent but simpler.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
piglit-summary.py: rewrite parse_listfile

This makes the parse_listfile in piglit-summary.py the same as the one
in piglit-summary-html.py.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
core.py: Move parse_listfile to core.py

Replaces the two individual implementations of parse_listfile with a
single shared instance in core.py.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
arb_texture_cube_map_array: scale texcoords

The magnitude of the vector formed by the first three texcoords
should not affect the result.

This turns out to be a significant edge case in the i965 driver,
which normalizes the coords such that the largest component does not
exceed [-1..1], but currently bogusly multiplies the fourth coord
[the array index] as well.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Move gs-emits-too-few-verts.c into the correct folder

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Change the geometry shader output layouts from 'triangles' to 'triangle_strip' because 'triangles' should be invalid

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
GS: Modify an older test to also check MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS with GL version 3.2

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Test that GetShaderiv() may now return GEOMETRY_SHADER if passed a valid GS object

Reviewed-by: Paul Berry <stereotype441@gmail.com>
all.tests: Replace from <module> import * with explicit imports

According to PEP8:
"Wildcard imports (from <module> import *) should be avoided, as they
make it unclear which names are present in the namespace, confusing both
readers and many automated tools."

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
all_cl.tests: Replace from <module> import * with explicit imports

According to PEP8:
"Wildcard imports (from <module> import *) should be avoided, as they
make it unclear which names are present in the namespace, confusing both
readers and many automated tools."

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
es3conform.tests: Replace from <module> import * with explicit imports

According to PEP8:
"Wildcard imports (from <module> import *) should be avoided, as they
make it unclear which names are present in the namespace, confusing both
readers and many automated tools."

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
external-glslparser.tests: delete obsolete test file

This profile is broken, and has been for some time. Besides that it was
used for testing the glsl compiler in classic mesa before it was
integrated into mesa, meaning it is obsolete.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
igt.tests: Replace from <module> import * with explicit imports

According to PEP8:
"Wildcard imports (from <module> import *) should be avoided, as they
make it unclear which names are present in the namespace, confusing both
readers and many automated tools."

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
oglconform.tests: Replace from <module> import * with explicit imports

According to PEP8:
"Wildcard imports (from <module> import *) should be avoided, as they
make it unclear which names are present in the namespace, confusing both
readers and many automated tools."

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
r300.tests: remove unused imports

There is absolutely no need to import anything except os.path into the
r300 tests, since the rest is imported when executing
quick-drivers.tests

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
r500.tests: Remove framework imports

These are provided by quick-drivers.tests, and do not need to be
reimported.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
r600.tests: remove r600.tests

this runs quick-driver.tests as is. There is no reason to have a profile
that only runs a profile.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
sanity.tests: Replace from <module> import * with explicit imports

According to PEP8:
"Wildcard imports (from <module> import *) should be avoided, as they
make it unclear which names are present in the namespace, confusing both
readers and many automated tools."

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
cl: From API clRetain* tests, removed attempt to release already released and destroyed objects

resending previous patch that got messed up.

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
gs: Test that input arrays can be accessed dynamically.

Most geometry shaders access their input arrays using a constant index
(or an index that is constant after loop unrolling).  This test checks
that we get the right results if we access a geometry shader input
array using a non-constant index.

v2: Use a slightly more complex calculation that allows each vertex to
have a different value of "index" (suggested by Chad Versace
<chad.versace@linux.intel.com>).