summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_nir.c
diff options
context:
space:
mode:
authorRob Clark <robclark@freedesktop.org>2016-03-25 15:15:44 -0400
committerRob Clark <robclark@freedesktop.org>2016-05-11 12:20:11 -0400
commit5261947260bf63693fc13eaaf8a1e845ab130a57 (patch)
tree4b9e520742f6b1936095000df6f44100142c8a61 /src/mesa/drivers/dri/i965/brw_nir.c
parentb10cc245198d375b940a49b4f93a73bc75e47ce8 (diff)
downloadexternal_mesa3d-5261947260bf63693fc13eaaf8a1e845ab130a57.zip
external_mesa3d-5261947260bf63693fc13eaaf8a1e845ab130a57.tar.gz
external_mesa3d-5261947260bf63693fc13eaaf8a1e845ab130a57.tar.bz2
nir: lower-io-types pass
A pass to lower complex (struct/array/mat) inputs/outputs to primitive types. This allows, for example, linking that removes unused components of a larger type which is not indirectly accessed. In the near term, it is needed for gallium (mesa/st) support for NIR, since only used components of a type are assigned VBO slots, and we otherwise have no way to represent that to the driver backend. But it should be useful for doing shader linking in NIR. v2: use glsl_count_attribute_slots() rather than passing a type_size fxn pointer Signed-off-by: Rob Clark <robclark@freedesktop.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_nir.c')
0 files changed, 0 insertions, 0 deletions