summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-08-02 15:19:19 +0200
committerMarek Olšák <[email protected]>2015-08-03 00:18:41 +0200
commitde59a40f6898e20a61ac4ea0e5995334f6ed2932 (patch)
treec69b74c537983178c303c4a5c537956350f221a6 /src/gallium/drivers
parentd4ad4c20617f45f71152e292ee39f020ef352bfd (diff)
r600g: re-enable single-sample fast clear
Fixed by the CB_SHADER_MASK fix. Tested-by: Dieter Nützel <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/r600_blit.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c
index 1c59230c78e..8664e036338 100644
--- a/src/gallium/drivers/r600/r600_blit.c
+++ b/src/gallium/drivers/r600/r600_blit.c
@@ -393,12 +393,7 @@ static void r600_clear(struct pipe_context *ctx, unsigned buffers,
struct r600_context *rctx = (struct r600_context *)ctx;
struct pipe_framebuffer_state *fb = &rctx->framebuffer.state;
- /* Single-sample fast color clear is broken on r600g:
- * https://bugs.freedesktop.org/show_bug.cgi?id=73528
- * https://bugs.freedesktop.org/show_bug.cgi?id=82186
- */
- if (buffers & PIPE_CLEAR_COLOR && rctx->b.chip_class >= EVERGREEN &&
- rctx->framebuffer.nr_samples > 1) {
+ if (buffers & PIPE_CLEAR_COLOR && rctx->b.chip_class >= EVERGREEN) {
evergreen_do_fast_color_clear(&rctx->b, fb, &rctx->framebuffer.atom,
&buffers, color);
if (!buffers)