nir: stop adjusting driver location for varying packing
authorTimothy Arceri <timothy.arceri@collabora.com>
Mon, 24 Oct 2016 23:23:25 +0000 (10:23 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 26 Oct 2016 03:29:36 +0000 (14:29 +1100)
commit2e423ca1477bd212c01676c5e4828ebdb83310d8
tree5ada9a6686103e678b2bd29ed80768370fdc6ea4
parent4ac668616573b73a742a971bb0d7abe8234b6aa9
nir: stop adjusting driver location for varying packing

As of 59864e8e020 we just use the location assigned by the front-end and
no longer need this for i965.

Since there were some issues in the logic with assigning arrays the same
driver location if they didn't start at the same location just remove it
and let other drivers implement a solution if needed when they add
ARB_enhanced_layouts support.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_io.c
src/mesa/drivers/dri/i965/brw_nir.c
src/mesa/drivers/dri/i965/brw_program.c
src/mesa/state_tracker/st_glsl_to_nir.cpp