radeonsi: pass the function name to si_llvm_create_func
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 27 Oct 2016 16:57:34 +0000 (18:57 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 3 Nov 2016 09:06:54 +0000 (10:06 +0100)
commit0b9bba7f6c0fe5b456e7464005063dff8e217847
treecf15ffacc0b40e17af63586b9c3797d2f4a99122
parent96d60dd9ee6a394671debe60b96db703d9ecd674
radeonsi: pass the function name to si_llvm_create_func

We will use multiple functions in one module, so they should have
different names.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader_internal.h
src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c