nir: add a pass to compact clip/cull distances.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 4 Oct 2016 05:37:40 +0000 (22:37 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 22 Nov 2016 08:29:23 +0000 (00:29 -0800)
commit9a179f2db090bfb5643779ac84c2b61fe525a780
tree27f17323eea590d79a8dd0385dee00cc23a7438c
parent663b2e9a92f152c314f611526b8a16ff4c06249f
nir: add a pass to compact clip/cull distances.

v2: Use nir_is_per_vertex_io() rather than is_arrays_of_arrays().

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/Makefile.sources
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_clip_cull_distance_arrays.c [new file with mode: 0644]