diff options
author | Rhys Perry <pendingchaos02@gmail.com> | 2019-11-14 15:31:52 +0000 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-12-03 10:46:09 -0800 |
commit | f9e8f6bad81a235fd93fe537e94f745ae679a629 (patch) | |
tree | 33441e8bbdf3bead723c9e178946ab7968cf4f7c /.dir-locals.el | |
parent | f7d100caad4ca170f9d2dacf02bf5e8d7cffe918 (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
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2167
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>
(cherry picked from commit 5404b7aaa36fad18df19e12abcc8af69014e74c2)
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions