projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d20b9b
)
radeonsi: print the shader stage name when printing LLVM IR
author
Marek Olšák
<marek.olsak@amd.com>
Mon, 13 Aug 2018 19:55:00 +0000
(15:55 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 22 Aug 2018 00:50:37 +0000
(20:50 -0400)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/radeonsi/si_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index 354c05e3d9d8d6ab4974f3c32a817a9210f06519..81c825db1e4103522cfb42baf5ea1a54a4923a84 100644
(file)
--- 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) {