From: Marek Olšák Date: Mon, 13 Aug 2018 19:55:00 +0000 (-0400) Subject: radeonsi: print the shader stage name when printing LLVM IR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6224144b6df17ba4cbd0a0e320b6d8059690c86b;p=mesa.git radeonsi: print the shader stage name when printing LLVM IR Reviewed-by: Samuel Pitoiset --- diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 354c05e3d9d..81c825db1e4 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -6994,7 +6994,8 @@ int si_compile_tgsi_shader(struct si_screen *sscreen, /* Compile to bytecode. */ r = si_compile_llvm(sscreen, &shader->binary, &shader->config, compiler, - ctx.ac.module, debug, ctx.type, "TGSI shader", + ctx.ac.module, debug, ctx.type, + si_get_shader_name(shader, ctx.type), si_should_optimize_less(compiler, shader->selector)); si_llvm_dispose(&ctx); if (r) {