diff options
author | Marek Olšák <[email protected]> | 2018-04-01 17:08:35 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-04-05 15:34:58 -0400 |
commit | e332ba61f40bc77d3104bd060bc7d1b18edd7e95 (patch) | |
tree | cbb8b86ddc3a119251cc97993491587e89d01188 /src/gallium/drivers/radeonsi/si_clear.c | |
parent | c424f86180d8c0c2c0e6b18b34564c5dc0c53942 (diff) |
radeonsi: use si_context instead of pipe_context in parameters pt2
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_clear.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_clear.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_clear.c b/src/gallium/drivers/radeonsi/si_clear.c index c13e98b4b32..8198ffb8812 100644 --- a/src/gallium/drivers/radeonsi/si_clear.c +++ b/src/gallium/drivers/radeonsi/si_clear.c @@ -230,7 +230,7 @@ void vi_dcc_clear_level(struct si_context *sctx, num_layers; } - si_clear_buffer(&sctx->b.b, dcc_buffer, dcc_offset, clear_size, + si_clear_buffer(sctx, dcc_buffer, dcc_offset, clear_size, clear_value, R600_COHERENCY_CB_META); } @@ -459,7 +459,7 @@ static void si_do_fast_color_clear(struct si_context *sctx, if (clear_words_needed) continue; - si_clear_buffer(&sctx->b.b, &tex->cmask_buffer->b.b, + si_clear_buffer(sctx, &tex->cmask_buffer->b.b, tex->cmask.offset, tex->cmask.size, 0xCCCCCCCC, R600_COHERENCY_CB_META); need_decompress_pass = true; @@ -491,7 +491,7 @@ static void si_do_fast_color_clear(struct si_context *sctx, } /* Do the fast clear. */ - si_clear_buffer(&sctx->b.b, &tex->cmask_buffer->b.b, + si_clear_buffer(sctx, &tex->cmask_buffer->b.b, tex->cmask.offset, tex->cmask.size, 0, R600_COHERENCY_CB_META); need_decompress_pass = true; |