Mesa (master): r600g: re-enable single-sample fast clear
Marek Olšák
mareko at kemper.freedesktop.org
Sun Aug 2 22:19:02 UTC 2015
Module: Mesa
Branch: master
Commit: de59a40f6898e20a61ac4ea0e5995334f6ed2932
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=de59a40f6898e20a61ac4ea0e5995334f6ed2932
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Aug 2 15:19:19 2015 +0200
r600g: re-enable single-sample fast clear
Fixed by the CB_SHADER_MASK fix.
Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
Reviewed-by: Dave Airlie <airlied at redhat.com>
---
src/gallium/drivers/r600/r600_blit.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c
index 1c59230..8664e03 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)
More information about the mesa-commit
mailing list