radeonsi/ac: move frag interp emission code to shared llvm code.
authorDave Airlie <airlied@redhat.com>
Wed, 1 Feb 2017 04:47:45 +0000 (14:47 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 1 Feb 2017 22:24:53 +0000 (08:24 +1000)
commitdc68b920dfd1adf2616dda99da730e6412fe2e6e
treedd7642d0424b23c7b983083679560e17b307356b
parentb940b2fd163f39576ddee23cee7fa60aa94f98fd
radeonsi/ac: move frag interp emission code to shared llvm code.

This code should be used in radv, so move it to a shared location
in advance of doing that.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_llvm_util.c
src/amd/common/ac_llvm_util.h
src/gallium/drivers/radeonsi/si_shader.c