sso: test program pipeline with atomic counters
commitabc8b4f2068725411c60afaf7707b37610f35c27
authorTapani Pälli <tapani.palli@intel.com>
Tue, 24 Nov 2015 07:05:48 +0000 (24 09:05 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 3 Dec 2015 07:05:01 +0000 (3 09:05 +0200)
tree8092d95c1d0f51409c2eb439bed26841329a3ec7
parentaa299f0d06e1dd988aed6d4140afd50315c012a1
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>
tests/all.py
tests/spec/arb_separate_shader_objects/CMakeLists.gl.txt
tests/spec/arb_separate_shader_objects/atomic-counter.c [new file with mode: 0644]