diff options
author | Marek Olšák <[email protected]> | 2016-01-03 17:18:04 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-01-07 18:26:06 +0100 |
commit | 0a51b010e5a250bd533c95447f6f2d8132345e67 (patch) | |
tree | 7657c40d2fc63cdd85bd9885ccc27f606262b958 /src/gallium/drivers/radeonsi/si_compute.c | |
parent | b0df5f4c19f2c084fe65b13f5712433c91ad83d0 (diff) |
radeonsi: move si_shader_dump call out of si_compile_llvm
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c index 2380242a7fa..ffac6560527 100644 --- a/src/gallium/drivers/radeonsi/si_compute.c +++ b/src/gallium/drivers/radeonsi/si_compute.c @@ -125,6 +125,9 @@ static void *si_create_compute_state( si_compile_llvm(sctx->screen, &program->kernels[i].binary, &program->kernels[i].config, sctx->tm, mod, &sctx->b.debug, TGSI_PROCESSOR_COMPUTE); + si_shader_dump(sctx->screen, &program->kernels[i].binary, + &program->kernels[i].config, + &sctx->b.debug, TGSI_PROCESSOR_COMPUTE); si_shader_binary_upload(sctx->screen, &program->kernels[i]); LLVMDisposeModule(mod); } |