nir/gather_info: Look for uses of helper invocations
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 7 Jun 2019 23:07:46 +0000 (18:07 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Tue, 23 Jul 2019 18:40:41 +0000 (13:40 -0500)
commitae392d73c978efcfbbe7fbfff446cabe2ab79559
tree85754fe5afe75280d78ecb7a4480a3cc2d2b03bc
parent41ab92a327c63bdf97edee356e46246f4ff306bc
nir/gather_info: Look for uses of helper invocations

The one obvious omission here is gl_HelperInvocation itself.  However,
the spec doesn't require that we generate then when gl_HelperInvocation
is used, it merely mandates that we report them if they are there.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir/nir_gather_info.c
src/compiler/shader_info.h