projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af38695
)
r600g/llvm: uses function attribute to pass shader type
author
Vincent Lejeune
<vljn@ovi.com>
Sat, 30 Mar 2013 19:05:45 +0000
(20:05 +0100)
committer
Vincent Lejeune
<vljn@ovi.com>
Mon, 1 Apr 2013 21:43:42 +0000
(23:43 +0200)
src/gallium/drivers/r600/r600_llvm.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_llvm.c
b/src/gallium/drivers/r600/r600_llvm.c
index 6e6edb77c66a0aed7ec958ae06d73b5f1675eaa0..e3e7d9f4fff64a0a6a6a47c9358dd09c19e35787 100644
(file)
--- a/
src/gallium/drivers/r600/r600_llvm.c
+++ b/
src/gallium/drivers/r600/r600_llvm.c
@@
-179,6
+179,7
@@
static void llvm_load_input(
static void llvm_emit_prologue(struct lp_build_tgsi_context * bld_base)
{
struct radeon_llvm_context * ctx = radeon_llvm_context(bld_base);
+ radeon_llvm_shader_type(ctx->main_fn, ctx->type);
}