r600g/llvm: uses function attribute to pass shader type

This commit is contained in:
Vincent Lejeune 2013-03-30 20:05:45 +01:00
parent af38695f51
commit 4ac0d85ca6

View file

@ -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);
}