ttn: Update shader->info as we generate code.
authorEric Anholt <eric@anholt.net>
Tue, 19 Jul 2016 17:55:47 +0000 (10:55 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 26 Jul 2016 20:47:50 +0000 (13:47 -0700)
commit4d0b2c7aaac3cf3de5af8474c83501122841d157
treef28b980bad8de7bc366a5865a62e4667f8208ba9
parent7b9a0f4e38b6b64a91ed0e674410af962b390120
ttn: Update shader->info as we generate code.

We could use the nir_shader_gather_info() pass to update it after the
fact, but this is what glsl_to_nir and prog_to_nir do.

Reviewed-by: Rob Clark <robclark@freedesktop.org>
src/gallium/auxiliary/nir/tgsi_to_nir.c