ac: add build_alloca with an initializer

Graphics / Mesa 3D Graphics Library / Mesa - Marek Olšák [amd.com] - 18 November 2020 06:19 UTC

combining alloca_undef + BuildStore.

d425d765bfe ac: add build_alloca with an initializer
src/amd/llvm/ac_llvm_build.c | 7 +++++++
src/amd/llvm/ac_llvm_build.h | 1 +
src/amd/llvm/ac_llvm_cull.c | 3 +--
src/amd/llvm/ac_nir_to_llvm.c | 3 +--
src/gallium/drivers/radeonsi/gfx10_shader_ngg.c | 13 ++++++-------
src/gallium/drivers/radeonsi/si_shader_llvm_vs.c | 7 +++----
6 files changed, 19 insertions(+), 15 deletions(-)

Upstream: cgit.freedesktop.org


  • Share