ac: add ac_count_scratch_private_memory()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 1 Mar 2018 21:12:54 +0000 (22:12 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 6 Mar 2018 09:38:38 +0000 (10:38 +0100)
commit3b8e7459f2db084f46a0a064675cb226c372c037
tree129306d721cdb7ec2b246fe8d28cf20b807e3c2d
parentf3275ca01cddd5d1e999e3805eff42e06ce6e974
ac: add ac_count_scratch_private_memory()

Imported from RadeonSI.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-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