freedreno/ir3: fix array textures on a4xx
authorRob Clark <robclark@freedesktop.org>
Tue, 12 Apr 2016 17:56:41 +0000 (13:56 -0400)
committerRob Clark <robclark@freedesktop.org>
Wed, 13 Apr 2016 18:16:14 +0000 (14:16 -0400)
commit216225ce57de3987aefc2c052eebe54b9c312bc0
treee320db7e026ce507f904d644806e12e754343de9
parent7e93b26b5d9f926346fb3651c0094fc1caade4d8
freedreno/ir3: fix array textures on a4xx

Seems like a4xx needs offset added to array index for all arrays,
whereas a3xx only for cubemap arrays.  Fixes a whole swath of dEQP fails
(roughly *sampler2darray*).

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c