mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
r600g: re-enable single-sample fast clear
Fixed by the CB_SHADER_MASK fix. Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de> Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
d4ad4c2061
commit
de59a40f68
1 changed files with 1 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue