radeonsi/ac: move tbuffer store and buffer load to shared code.
authorDave Airlie <airlied@redhat.com>
Wed, 1 Feb 2017 23:13:44 +0000 (09:13 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 2 Feb 2017 23:54:04 +0000 (09:54 +1000)
commitb3c28942c78864fe1259d653271723b51bd9311a
tree90f7b3f84ea90cf200a6a2d55714302b84c586cd
parenta9773311f6a1b7f49dbd207c12e8081a5823c5a9
radeonsi/ac: move tbuffer store and buffer load to shared code.

These are all reuseable by radv.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
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