sso: test program pipeline with atomic counters
Test fails on current Mesa (i965 BDW) but passes on NVIDIA binary
driver version 355.11 and AMD binary driver version 15.201.1151.
v2: add error checks
modify to render points
make it possible to use regular program (makes test pass on Mesa)
v3: bump up glsl version to 1.50 and redeclare gl_Position in vs
(makes the vs compile and test pass on AMD)
v4: simplify and modify test to make sure to draw all pixels
(makes the test pass on NVIDIA, previously likely all pixels
just got clipped away)
v5: doh, do not free objects in piglit_display(), it can get called
multiple times ..
v6: code cleanups, remove REGULAR_PROGRAM define
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>