summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-08-10 18:50:24 +0200
committerNicolai Hähnle <[email protected]>2016-08-17 12:11:23 +0200
commit6bba95607370a6be2482105e9030471ceea96944 (patch)
tree1ac3bac7b0b0daab98295e2c1bfa6b8ad5810e2a /src/gallium/drivers/radeonsi
parent7c2295d7efba2178c22e0caf9d9166db81ea7329 (diff)
gallium/radeon: use tgsi_scan_arrays for temp arrays
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index c595ee00482..06b5c9c2c48 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/gallium/drivers/radeonsi/si_shader.c
@@ -6524,7 +6524,8 @@ static void si_init_shader_ctx(struct si_shader_context *ctx,
memset(ctx, 0, sizeof(*ctx));
radeon_llvm_context_init(
&ctx->radeon_bld, "amdgcn--",
- (shader && shader->selector) ? &shader->selector->info : NULL);
+ (shader && shader->selector) ? &shader->selector->info : NULL,
+ (shader && shader->selector) ? shader->selector->tokens : NULL);
ctx->tm = tm;
ctx->screen = sscreen;
if (shader && shader->selector)