Primitive restart: Test in every possible draw mode.

Some implementations (i965 in particular) treat primitive restart
differently depending what type of primitive is being drawn.  This
test verifies that primitive restart works correctly for all primitive
types.

Reviewed-by: Brian Paul <brianp@vmware.com>

v2: Use piglit_link_simple_program().
arb_gpu_shader5: Add a fragment shader bitCount execution test.
arb_gpu_shader5: Add a fragment shader findLSB execution test.
arb_gpu_shader5: Add a fragment shader findMSB execution test.

v2: Subtract return value from 31 to get the count in LSB terms.
arb_gpu_shader5: Add a fragment shader bitfieldReverse execution test.
arb_gpu_shader5: Add a fragment shader bitfieldExtract execution test.
arb_gpu_shader5: Add a fragment shader bitfieldInsert execution test.
arb_gpu_shader5: Add a vertex shader bitCount execution test.
arb_gpu_shader5: Add a vertex shader bitfieldReverse execution test.
arb_gpu_shader5: Add a vertex shader findMSB execution test.

v2: Subtract return value from 31 to get the count in LSB terms.
arb_gpu_shader5: Add a vertex shader findLSB execution test.
arb_gpu_shader5: Add a vertex shader bitfieldExtract execution test.
arb_gpu_shader5: Add a vertex shader bitfieldInsert execution test.
arb_gpu_shader5: Add a constant eval bitCount execution test.

v2: Call nonexistent bad_constant_folding() function if test fails.
arb_gpu_shader5: Add a constant eval findLSB execution test.

v2: Call nonexistent bad_constant_folding() function if test fails.
arb_gpu_shader5: Add a constant eval findMSB execution test.

v2: Subtract return value from 31 to get the count in LSB terms.
    Call nonexistent bad_constant_folding() function if test fails.
arb_gpu_shader5: Add a constant eval bitfieldReverse execution test.

v2: Call nonexistent bad_constant_folding() function if test fails.
arb_gpu_shader5: Add a constant eval bitfieldExtract execution test.

v2: Call nonexistent bad_constant_folding() function if test fails.
arb_gpu_shader5: Add a constant eval bitfieldInsert execution test.

v2: Call nonexistent bad_constant_folding() function if test fails.
arb_gpu_shader5: Add shader_tests to all.tests.