ac/nir: use ac_build_image_opcode for image intrinsics
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 20 Apr 2018 07:30:07 +0000 (09:30 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 20 Apr 2018 07:30:07 +0000 (09:30 +0200)
commit24fb3e6aa166b3afe906eb2845077766075189ed
tree2f7b59a5fe21bc86d7d65dd2e2ff1cc5ffdde4bf
parent74063431f125df450029ec9202d376b4a77f30c6
ac/nir: use ac_build_image_opcode for image intrinsics

So that we'll use the dimension-aware intrinsics in the future.

Acked-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_llvm_build.c
src/amd/common/ac_llvm_build.h
src/amd/common/ac_nir_to_llvm.c