cl: Fix bug in the local store kernel

Reviewed-by: Aaron Watry <awatry@gmail.com>
cl: Add tests for local memory atomic_inc and atomic_add builtins

Reviewed-by: Aaron Watry <awatry@gmail.com>
GLSL 1.50: Test that declarations of layouts can only occur in the global scope.

Modify two pre-existing global scope tests and add two new tests for more thorough testing.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
GL 3.2: Test ProvokingVertex() state

Reviewed-by: Paul Berry <stereotype441@gmail.com>
GL 3.2: Test that the initial value of provoking vertex mode is LAST_VERTEX_CONVENTION

Reviewed-by: Paul Berry <stereotype441@gmail.com>
GL 3.2: Test that a query of QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION is invalid

Note: GL 3.2 core spec refers to QUADS_FOLLOW_PROVOKING_VERTEX but this was removed
in 3.3 core spec.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
GL 3.2: Test that the Transform Feedback Buffer collects data before flatshading occurs

Reviewed-by: Paul Berry <stereotype441@gmail.com>
Make indentation in all.tests PEP8-compliant.

Re-indented the file using the script
https://github.com/stereotype441/mesa-tools/blob/master/fix-indentation.py.
This is the same script I used for
http://cgit.freedesktop.org/mesa/mesa/commit/?id=99802519b47983be8301a0283f2946a44a9656a5
("glapi: Reformat python code generation scripts to use 4-space
indentation.")

Only whitespace differences.

Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
gs: Test that geometry shader inputs must be arrays.

v2: Additional tests.
gs: Test that geometry shader input declaration rules don't apply to outputs.
gs: Test EndPrimitive() functionality.
gs: test all input primitive types.

Verified using the NVIDIA proprietary driver for Linux.
!UPSTREAM: Test core GS inputs on GLSL 1.50

TODO:
- Make this work.