nir: Make nir_shader_gather_info() track texelFetch texture accesses.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 9 Sep 2017 07:19:57 +0000 (00:19 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 13 Oct 2017 00:22:42 +0000 (17:22 -0700)
commita576c148cd77b3abf44cd673c36bc737dfbedc10
treea4e9e8d0b4c3693695ca6762ccc926a99d991ad5
parentfbf4c2916c14d95209abc6b64737ad8528e62fae
nir: Make nir_shader_gather_info() track texelFetch texture accesses.

For TGSI-based drivers, st_glsl_to_tgsi records this information.
For NIR-based drivers, nir_shader_gather_info() will do so.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_gather_info.c