freedreno/ir3: Fix driver_location of the added vertex_flags varying.
authorEric Anholt <eric@anholt.net>
Wed, 22 Apr 2020 20:27:20 +0000 (13:27 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Apr 2020 18:52:46 +0000 (18:52 +0000)
commitac937bf878c30f1879adfb31f68a4dec15d3b616
tree0cd1d941132ec3b549fcfe205bc4255a5a53ef99
parente82ce1852a40d2648c98317da2c0f2cf656d15c7
freedreno/ir3: Fix driver_location of the added vertex_flags varying.

It was ignoring the sizes of the output variables and assuming
single-slot, and failing to update num_outputs.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4670>
src/freedreno/ir3/ir3_nir_lower_tess.c