mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
Revert "radeon/r300: no need to flush the cmdbuf when changing scissors state in KMM mode"
This reverts commit 286bf89e5a.
This doesn't appear to be correct, regression so revert it.
http://bugs.freedesktop.org/show_bug.cgi?id=25193
This commit is contained in:
parent
c8cdce6657
commit
e84dddde9b
2 changed files with 2 additions and 5 deletions
|
|
@ -1741,8 +1741,7 @@ static void r300Enable(GLcontext * ctx, GLenum cap, GLboolean state)
|
|||
r300SetPolygonOffsetState(ctx, state);
|
||||
break;
|
||||
case GL_SCISSOR_TEST:
|
||||
if (!rmesa->radeon.radeonScreen->kernel_mm)
|
||||
radeon_firevertices(&rmesa->radeon);
|
||||
radeon_firevertices(&rmesa->radeon);
|
||||
rmesa->radeon.state.scissor.enabled = state;
|
||||
radeonUpdateScissor( ctx );
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -257,9 +257,7 @@ void radeonScissor(GLcontext* ctx, GLint x, GLint y, GLsizei w, GLsizei h)
|
|||
radeonContextPtr radeon = RADEON_CONTEXT(ctx);
|
||||
if (ctx->Scissor.Enabled) {
|
||||
/* We don't pipeline cliprect changes */
|
||||
if (!radeon->radeonScreen->kernel_mm) {
|
||||
radeon_firevertices(radeon);
|
||||
}
|
||||
radeon_firevertices(radeon);
|
||||
radeonUpdateScissor(ctx);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue