turnip: use nir_assign_io_var_locations instead of nir_assign_var_locations
authorJonathan Marek <jonathan@marek.ca>
Mon, 7 Oct 2019 02:26:49 +0000 (22:26 -0400)
committerJonathan Marek <jonathan@marek.ca>
Tue, 15 Oct 2019 11:56:20 +0000 (07:56 -0400)
commit571b2611b3e2e1e8cc872ccddd036b9f8c943f55
treecc09fcc3d2d10853a4295a53898bafa92c609f6a
parenta5635a8a50404ca2c37ee7edc095790ed089f83d
turnip: use nir_assign_io_var_locations instead of nir_assign_var_locations

Variables with same location should use the same driver_location.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/vulkan/tu_shader.c