summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Lejeune <[email protected]>2013-03-30 20:05:45 +0100
committerVincent Lejeune <[email protected]>2013-04-01 23:43:42 +0200
commit4ac0d85ca68100aaecb3016273f4df71f40e289b (patch)
tree97afed6a4c252350c14478c5c1dba9dceb2c5d76
parentaf38695f5105a2f766f3df393c3e42067c3706f2 (diff)
r600g/llvm: uses function attribute to pass shader type
-rw-r--r--src/gallium/drivers/r600/r600_llvm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c
index 6e6edb77c66..e3e7d9f4fff 100644
--- 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);
}