intel/fs: Don't loop when lowering CS intrinsics
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 3 Apr 2019 00:41:07 +0000 (17:41 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 9 Apr 2019 02:29:33 +0000 (19:29 -0700)
commit0425b34b79097384b578dc0999484f4199ff5516
tree166d00dd77ce70e081b9f32f1e76d422ee937cf6
parent3ee3024804f9817dfa4f9ee4fa3d6b963a84c9cb
intel/fs: Don't loop when lowering CS intrinsics

This was needed when certain intrinsics were lowered to other ones
that were defined by the same pass.  After 060817b2 "intel,nir: Move
gl_LocalInvocationID lowering to nir_lower_system_values" we don't
need the loop anymore.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/compiler/brw_nir_lower_cs_intrinsics.c