ac/nir_to_llvm: fix interpolateAt* for arrays
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 10 Jan 2019 04:54:43 +0000 (15:54 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 18 Jan 2019 23:59:38 +0000 (10:59 +1100)
commit9e669ed22b52857495593b92537d53c9ead7d424
treee609fa49e7b7003bfa1cfc70ea43d75d1ad5e795
parent860a9e4849cfcab7ab0b80ab87864815b442c405
ac/nir_to_llvm: fix interpolateAt* for arrays

This builds on the recent interpolate fix by Rhys ee8488ea3b99.

This fixes the arb_gpu_shader5 interpolateAt* tests that contain
arrays.

Fixes: ee8488ea3b99 ("ac/nir,radv,radeonsi/nir: use correct indices for interpolation intrinsics")
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c