v3d: Use nir_lower_io_to_scalar_early to DCE unused VS input components.
authorEric Anholt <eric@anholt.net>
Tue, 18 Sep 2018 17:34:11 +0000 (10:34 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 30 Oct 2018 17:46:52 +0000 (10:46 -0700)
commit17c81989521731af25a633622a0ded437538ab00
treef6d099f02c3e4927a58f5d430a2ade5b6a9f8b3c
parentfc85f7cfdc154e6c2f29445b6023b379c3c18864
v3d: Use nir_lower_io_to_scalar_early to DCE unused VS input components.

This lets us trim unused trailing components in the vertex attributes,
reducing the size of our VPM allocations.
src/broadcom/compiler/vir.c
src/gallium/drivers/v3d/v3d_program.c