v3d: Add support for gl_HelperInvocation.
authorEric Anholt <eric@anholt.net>
Fri, 28 Dec 2018 19:30:52 +0000 (11:30 -0800)
committerEric Anholt <eric@anholt.net>
Sun, 30 Dec 2018 16:05:11 +0000 (08:05 -0800)
commitad1e59cf8d05f07db9f8d4183b3179cef230edfa
tree1a9abc6e0869a642f7dead21ab2dea199e849661
parent20021e3473ae6fae7d850425e031523b1983d4e5
v3d: Add support for gl_HelperInvocation.

We can just look at the MSF flags -- if they're unset, then we're
definitely in a helper invocation.  Fixes
dEQP-GLES31.functional.shaders.helper_invocation.* with GLES3.1 enabled.
src/broadcom/compiler/nir_to_vir.c