OSDN Git Service

nir: Allow using nir_lower_io_to_scalar_early on VS input vars.
authorEric Anholt <eric@anholt.net>
Tue, 18 Sep 2018 17:35:34 +0000 (10:35 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 30 Oct 2018 17:46:52 +0000 (10:46 -0700)
commit8265dfaa87ef3b46288afdccae86221203c9b44e
tree3a0eced651d31f0f6737d5657c13de737d90c1d8
parentf48b742289ea72d7d0ec518ed6f76bc885548888
nir: Allow using nir_lower_io_to_scalar_early on VS input vars.

This will be used on V3D to cut down the size of the VS inputs in the VPM
(memory area for sharing data between shader stages).

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/nir/nir_lower_io_to_scalar.c