Browse Source

r600g/llvm: uses function attribute to pass shader type

tags/mesa-9.2-rc1
Vincent Lejeune 12 years ago
parent
commit
4ac0d85ca6
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/gallium/drivers/r600/r600_llvm.c

+ 1
- 0
src/gallium/drivers/r600/r600_llvm.c 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);

}


Loading…
Cancel
Save