mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
r300: fix clear mask to not use sw if not necessary
This commit is contained in:
parent
b484c71036
commit
dfecf217fa
1 changed files with 2 additions and 0 deletions
|
|
@ -646,6 +646,8 @@ static void r300Clear(GLcontext * ctx, GLbitfield mask)
|
|||
|
||||
if (colorMask == ~0)
|
||||
tri_mask |= (mask & BUFFER_BITS_COLOR);
|
||||
else
|
||||
tri_mask |= (mask & (BUFFER_BIT_FRONT_LEFT | BUFFER_BIT_BACK_LEFT));
|
||||
|
||||
|
||||
/* HW stencil */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue