nir: fix st_nir_assign_var_locations for patch variables
authorKarol Herbst <kherbst@redhat.com>
Sun, 7 Jan 2018 20:42:19 +0000 (21:42 +0100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 7 Jan 2018 23:12:53 +0000 (10:12 +1100)
commitefd2169c1a40f552b3a6a0b03bb787255b8febf6
tree2492a4dc1c0e7a1642fe5ec5826540e4fd89f46e
parent6f4ac7b418c64f03f05e496953fe0c1d09864ab9
nir: fix st_nir_assign_var_locations for patch variables

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/state_tracker/st_glsl_to_nir.cpp