diff options
author | Marek Olšák <[email protected]> | 2018-08-02 20:32:30 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-08-14 21:21:12 -0400 |
commit | de8d5edbc4805493bd9e4c031fc0a30b6579bf58 (patch) | |
tree | 76a9c1c1969830d1f4472310df4418c042217320 /src/gallium/drivers/radeonsi/si_pipe.c | |
parent | 4de92f2abbd2b04a5e48160593e122f098fcee0d (diff) |
radeonsi: split si_clear_buffer to remove enum si_method
Tested-by: Dieter Nützel <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index c1983b86661..3ca53dfed7c 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -546,7 +546,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, /* Clear the NULL constant buffer, because loads should return zeros. */ si_clear_buffer(sctx, sctx->null_const_buf.buffer, 0, sctx->null_const_buf.buffer->width0, 0, - SI_COHERENCY_SHADER, SI_METHOD_BEST); + SI_COHERENCY_SHADER); } uint64_t max_threads_per_block; |