diff options
author | Rhys Perry <pendingchaos02@gmail.com> | 2019-11-14 15:31:52 +0000 |
---|---|---|
committer | Rhys Perry <pendingchaos02@gmail.com> | 2019-12-02 17:45:01 +0000 |
commit | 5404b7aaa36fad18df19e12abcc8af69014e74c2 (patch) | |
tree | 6338219f12a599931a86e22f8289162e54318242 /src/compiler/nir/nir_lower_gs_intrinsics.c | |
parent | 01cacdb71ee45067dd8fa48298530bd8a05c53d0 (diff) |
nir/lower_io_to_vector: don't create arrays when not needed
Some backends require that there are no array varyings.
If there were no arrays in the input shader, the pass shouldn't have to
create new ones.
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2103
Fixes: bcd14756eec ('nir/lower_io_to_vector: add flat mode')
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Diffstat (limited to 'src/compiler/nir/nir_lower_gs_intrinsics.c')
0 files changed, 0 insertions, 0 deletions