diff options
author | Marek Olšák <[email protected]> | 2017-11-25 20:50:31 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-11-29 18:21:30 +0100 |
commit | 092756f23fee2ea2a98a230d020132a45a6e1e94 (patch) | |
tree | 192a305b6e9eb4503ebf7032cdc204f81246f82d /src/gallium/drivers/radeonsi/si_pipe.c | |
parent | b191e2d79df5630d532f0801ff0cd3e58058d897 (diff) |
radeonsi: remove r600_common_context::clear_buffer
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index bf2867759c1..eb0283aac9a 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -322,9 +322,9 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, &sctx->null_const_buf); /* Clear the NULL constant buffer, because loads should return zeros. */ - sctx->b.clear_buffer(&sctx->b.b, sctx->null_const_buf.buffer, 0, - sctx->null_const_buf.buffer->width0, 0, - R600_COHERENCY_SHADER); + si_clear_buffer(&sctx->b.b, sctx->null_const_buf.buffer, 0, + sctx->null_const_buf.buffer->width0, 0, + R600_COHERENCY_SHADER); } uint64_t max_threads_per_block; |