diff options
author | Marek Olšák <[email protected]> | 2016-04-22 10:26:28 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-04-28 20:16:56 +0200 |
commit | f564b61d33fd8fd23211e1762e2b04c25495b8fd (patch) | |
tree | ae0b805f23bb84a1be1187b6ccd3c875974e38fb /src/gallium/drivers/r600 | |
parent | d273ce5259ff924b9c5ec1371872f4fdbac73fd5 (diff) |
radeonsi: rework clear_buffer flags
Changes:
- don't flush DB for fast color clears
- don't flush any caches for initial clears
- remove the flag from si_copy_buffer, always assume shader coherency
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600_blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index 2d30807c9f4..ed67cb8699f 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/drivers/r600/r600_blit.c @@ -582,7 +582,7 @@ static void r600_copy_global_buffer(struct pipe_context *ctx, static void r600_clear_buffer(struct pipe_context *ctx, struct pipe_resource *dst, uint64_t offset, uint64_t size, unsigned value, - bool is_framebuffer) + enum r600_coherency coher) { struct r600_context *rctx = (struct r600_context*)ctx; |