amd/common: Fix number of coords for getlod.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 5 Jun 2018 23:42:17 +0000 (01:42 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 7 Jun 2018 21:59:52 +0000 (23:59 +0200)
commit4fc2d5e14125709d2eaa23d36f74f11bb760c73e
tree261824911f4c84eeaeb277582288e8c6624fb0fb
parent9be56316cf3d1b8db0b38f260e7b6ff2592d7a13
amd/common: Fix number of coords for getlod.

The LLVM 6 code reduced it to a non-array call. We need to do that
with the new code too.

This fixes dEQP-VK.glsl.texture_functions.query.texturequerylod.*array* for radv.

Fixes: a9a79934412 "amd/common: use the dimension-aware image intrinsics on LLVM 7+"
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_llvm_build.c