summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_llvm.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2013-03-04 16:30:06 +0100
committerChristian König <[email protected]>2013-03-07 10:03:22 +0100
commit55fe5ccb39d220eb7a506729a60412746c74406c (patch)
tree05a5b44720321533109c88d1a636a7b44b010285 /src/gallium/drivers/r600/r600_llvm.c
parentb8f4ca3d85b8a192b5c1940f9a4b558f1ce78d8f (diff)
radeon/llvm: make SGPRs proper function arguments v2
v2: remove unrelated changes Signed-off-by: Christian König <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_llvm.c')
-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 3385c448b98..c7aa45f4e67 100644
--- a/src/gallium/drivers/r600/r600_llvm.c
+++ b/src/gallium/drivers/r600/r600_llvm.c
@@ -524,6 +524,7 @@ LLVMModuleRef r600_tgsi_llvm(
struct tgsi_shader_info shader_info;
struct lp_build_tgsi_context * bld_base = &ctx->soa.bld_base;
radeon_llvm_context_init(ctx);
+ radeon_llvm_create_func(ctx, NULL, 0);
tgsi_scan_shader(tokens, &shader_info);
bld_base->info = &shader_info;