diff options
author | Marek Olšák <[email protected]> | 2015-12-28 01:45:00 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-01-07 18:26:06 +0100 |
commit | 63345cfc3a8a0f2d9bb16deef2a24cebe9045642 (patch) | |
tree | 6ccadabce714adfa9ed36a5bce5142dce462d735 /src/gallium/drivers/radeonsi/si_compute.c | |
parent | 2d3a96448a6ce28a9955ef7b4d5c62228703e4a3 (diff) |
radeonsi: don't pass si_shader to 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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c index 7aedd39115a..a543c55221b 100644 --- a/src/gallium/drivers/radeonsi/si_compute.c +++ b/src/gallium/drivers/radeonsi/si_compute.c @@ -136,7 +136,8 @@ 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, &sctx->b.debug, + si_shader_binary_read(sctx->screen, &program->shader.binary, + &program->shader.config, &sctx->b.debug, TGSI_PROCESSOR_COMPUTE); si_shader_binary_upload(sctx->screen, &program->shader); |