radeonsi/ac: move get_image_intr_name to common
authorDave Airlie <airlied@redhat.com>
Sun, 5 Mar 2017 22:37:22 +0000 (08:37 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 6 Mar 2017 22:17:03 +0000 (08:17 +1000)
commit10ae83a9c2243511981215ae908fe66251ffdcd0
treebdfda6c288d603a29e3af8dd9f1092c622d03f37
parent7eb85b820440b38ccf6491aabdcf68cac112e0fc
radeonsi/ac: move get_image_intr_name to common

This code is used in radv, so move to common build code.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_llvm_build.c
src/amd/common/ac_llvm_build.h
src/gallium/drivers/radeonsi/si_shader.c