nir: Add pass to scalarize read_invocation/read_first_invocation
authorMatt Turner <mattst88@gmail.com>
Thu, 6 Jul 2017 04:57:44 +0000 (21:57 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 20 Jul 2017 23:56:49 +0000 (16:56 -0700)
commit3e7b8f6cd40810601982d55d6e8d6935f0fde78c
treeadfddfe402e21c9d892089049e31b8dc8ea83348
parent43ef75b394f1cd779a54a22fe16fbb5ef23f0458
nir: Add pass to scalarize read_invocation/read_first_invocation

i965 will want these to be scalar operations.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/Makefile.sources
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_read_invocation_to_scalar.c [new file with mode: 0644]