tgsi: set nonhelpermask for vertex shaders
authorDave Airlie <airlied@redhat.com>
Mon, 11 Apr 2016 02:20:38 +0000 (12:20 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 12 Apr 2016 04:15:16 +0000 (14:15 +1000)
commit9c7a0d188a495a247570a27bc4af77c540e40c34
tree251d71311557e4f3d4911f64d105894039781220
parent193a5cee6a535875542bb5d265bdeb21a8b93e9d
tgsi: set nonhelpermask for vertex shaders

For atomic operations we really need to avoid executing unnecessary shaders, so for some
tests that just draw a single point we only want one vertex to get processed not 4,

this fixes a number of the atomic counters tests.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/draw/draw_vs_exec.c