ac/nir: move lds declaration/load/store into shared code.
authorDave Airlie <airlied@redhat.com>
Thu, 26 Oct 2017 04:43:51 +0000 (14:43 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 26 Oct 2017 05:59:11 +0000 (15:59 +1000)
commitf925f5b074b2ed22c44cc715aaacc554df904317
tree318fc9f91d9a7b6fc8800cd7d967bad36e4dc274
parent74fc9e9186389df1d94d82e919b5ae1576d7d68a
ac/nir: move lds declaration/load/store into shared code.

This was duplicated between both drivers, share here.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_llvm_build.c
src/amd/common/ac_llvm_build.h
src/amd/common/ac_nir_to_llvm.c
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader_internal.h