Test that GetProgramiv() now accepts GEOMETRY_INPUT_TYPE, GEOMETRY_OUTPUT_TYPE and GEOMETRY_VERTICES_OUT

**NOTE**: At the time this test was written, the new enums, GEOMETRY_INPUT_TYPE,
GEOMETRY_OUTPUT_TYPE and GEOMETRY_VERTICES_OUT, do not seem to be implemented,
thus causing the tests to fail.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
GL 3.2: Test layered framebuffers clear the depth attachment properly.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
junit: Fix valid XML unicode table.

Special characters in the range 0..0x20, not 0..20.

This prevents errors like:

  An invalid XML character (Unicode: 0x1e) was found in the element content of the document.

Trivial.
util: Add multiple shader version of piglit_build_simple_program functions

Add piglit_link_simple_program_multiple_shaders()
Add piglit_build_simple_program_multiple_shaders_v()
Add piglit_build_simple_program_multiple_shaders()
Add piglit_build_simple_program_unlinked_multiple_shaders()

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
piglit-run.py: replace file.write with json_writer calls

The current behavior is to write a key, and then dump the status into
it. This reimplements what JSONWireter.write_dict_item() already does,
so just use the write_dict_item() method.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
core.py: Fix bug in JSONWriter.write_dict_key method

Curretnly write_dict_key sets the indent level one in before writing,
and then sets it back imediatly after finishing, which is incorrect
since the indent was already previous set. This cuased anything written
by the write_dict_key method to be double indented. This removes that
behavior.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
ext_shader_integer_mix: Add tests for mix on integers and bools.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
gs: Test core GS inputs on GLSL 1.50
gs: Test corner case for triangle strip ordering with primitive restart.

Verified using the NVIDIA proprietary driver for linux.
Test accuracy of dFdx and dFdy functions.

Mesa/i965 currently (as of commit 1cc3b90) has an inaccurate
implementation of dFdy() which produces the same results for every
pixel in an aligned 2x2 block.  This piglit test exposes the
inaccuracy.