diff options
author | Marek Olšák <[email protected]> | 2016-01-03 17:03:24 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-01-07 18:26:06 +0100 |
commit | c9c031f3d0ed28a65b78748ed1e6e2ec29336451 (patch) | |
tree | 58d3ec76950f311e7566eac6803c7f824e620bc3 /src/gallium/drivers/radeonsi/si_compute.c | |
parent | f8b34fe093594ad7c0428c55efae2f479b543a62 (diff) |
radeonsi: move si_shader_dump call out of si_shader_binary_read
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 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c index 3562bd846e7..ffa941b5f60 100644 --- a/src/gallium/drivers/radeonsi/si_compute.c +++ b/src/gallium/drivers/radeonsi/si_compute.c @@ -138,9 +138,11 @@ static void *si_create_compute_state( * the shader code to the GPU. */ init_scratch_buffer(sctx, program); - si_shader_binary_read(sctx->screen, &program->shader.binary, - &program->shader.config, &sctx->b.debug, - TGSI_PROCESSOR_COMPUTE); + si_shader_binary_read(&program->shader.binary, + &program->shader.config); + si_shader_dump(sctx->screen, &program->shader.binary, + &program->shader.config, &sctx->b.debug, + TGSI_PROCESSOR_COMPUTE); si_shader_binary_upload(sctx->screen, &program->shader); #endif |