nvc0/ir: fix 1D arrays images for Kepler
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 5 Apr 2016 10:48:32 +0000 (12:48 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 26 Apr 2016 17:47:49 +0000 (19:47 +0200)
commit8b540db44cd9adadd98d98d184ad9fe5afc4f1ac
tree459733b74ed823b33b452f750f69ab21cfe8f865
parente478156ed7b57724fd189efd5c4ac42e769f6d04
nvc0/ir: fix 1D arrays images for Kepler

For 1D arrays, the array index is stored in the Z component.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp