amd/common: import get_{load,store}_intr_attribs() from RadeonSI
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 10 Jan 2018 11:57:19 +0000 (12:57 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 10 Jan 2018 18:02:23 +0000 (19:02 +0100)
commit7239e265ebe200891f161a07337cd31a92bf6ff8
tree6a567e45469b614ed612107c2322a04a9b0a1dee
parentb391fb26df9f1b0c1673cb79be2478b0fe459f9e
amd/common: import get_{load,store}_intr_attribs() from RadeonSI

v2: move those helpers to the header and use static inline

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> (v1)
src/amd/common/ac_llvm_build.c
src/amd/common/ac_llvm_util.h
src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c