summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_compute.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-12-27 22:22:24 +0100
committerMarek Olšák <[email protected]>2016-01-03 22:41:16 +0100
commit3ce0a2fd7f4270b036b4449a312cff8dcfd5925e (patch)
tree17b9033de745b7c259d02ac55b87f982c336226e /src/gallium/drivers/radeonsi/si_compute.c
parentdd79034ca68be7216615c824bac07ccae889004f (diff)
radeonsi: pass TGSI processor type to si_compile_llvm for dumping
the parameter will be used later Reviewed-by: Edward O'Callaghan <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_compute.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_compute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c
index 2565117581e..32e265e2a36 100644
--- a/src/gallium/drivers/radeonsi/si_compute.c
+++ b/src/gallium/drivers/radeonsi/si_compute.c
@@ -123,7 +123,7 @@ static void *si_create_compute_state(
LLVMModuleRef mod = radeon_llvm_get_kernel_module(program->llvm_ctx, i,
code, header->num_bytes);
si_compile_llvm(sctx->screen, &program->kernels[i], sctx->tm,
- mod, &sctx->b.debug);
+ mod, &sctx->b.debug, TGSI_PROCESSOR_COMPUTE);
LLVMDisposeModule(mod);
}
}