glsl: Try some chained assignments

Mesa currently passes the chained-assignment.vert, but it fails
chained-assignment-with-array-deref.vert with:

0:5(12): error: value of type vec4 cannot be assigned to variable of type float

It seems the type checker is getting confused by the array
dereference.

I have been told that cases similar to
chained-assignment-with-array-deref pass on all other known desktop
OpenGL implementations.

Note: chained-assignment-with-vector-constant-index.vert and
chained-assignment-with-vector-dynamic-index.vert currently fail on
Mesa.

v2: Simplify the constant indexing test slightly (suggested by Ken).
Add a couple more variations.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reported-by: Dan Ginsburg <dang@valvesoftware.com>
amd_shader_trinary_minmax: Add tests for the preprocessor define

This currently fails on Mesa.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Test that scalar ops in different BBs aren't combined.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74113
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Test that scalar ops in different BBs aren't combined.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74113
generate-glean-tests.py: Remove unused imports
piglit-print-commands: Remove unused imports
piglit-run.py: Remove unused imports

v2: - remove duplicate core imports

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
framework/core.py: Remove unused imports

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
framework/core.py: Fix local imports

Local imports (those that belong to the local package) should be
separated from global imports. They also should use explicit import
syntax rather than the old implicit syntax.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
framework/exectest.py: Remove unused imports

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
framework/exectest.py: Use explicit relative imports

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
framework/gleantest.py: Remove unused imports

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
framework/gleantest.py: use explicit relative imports

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
framework/glsl_parser_test.py: Remov unused imports

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
framework/glsl_parser_test.py: explicit relative imports

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
framework/log.py: Use explicit relative imports

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
framework/shader_test.py: remove unused imports

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
framework/shader_test.py: use explicit relative imports

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
framework/summary.py: Replace relative imports with absolute

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
framework/core.py: Remove dead code

This removes a couple of dead functions and classes

v2: - remove more dead code

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>