mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 13:10:25 +01:00
r100: revalidate after radeon_update_renderbuffers
This is a port of 603741a86d
to r100.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
This commit is contained in:
parent
fb7a095785
commit
075640e37e
2 changed files with 4 additions and 0 deletions
|
|
@ -412,6 +412,8 @@ static GLboolean radeon_run_render( GLcontext *ctx,
|
|||
return GL_TRUE;
|
||||
|
||||
radeon_prepare_render(&rmesa->radeon);
|
||||
if (rmesa->radeon.NewGLState)
|
||||
radeonValidateState( ctx );
|
||||
|
||||
tnl->Driver.Render.Start( ctx );
|
||||
|
||||
|
|
|
|||
|
|
@ -253,6 +253,8 @@ void radeonTclPrimitive( GLcontext *ctx,
|
|||
GLuint newprim = hw_prim | RADEON_CP_VC_CNTL_TCL_ENABLE;
|
||||
|
||||
radeon_prepare_render(&rmesa->radeon);
|
||||
if (rmesa->radeon.NewGLState)
|
||||
radeonValidateState( ctx );
|
||||
|
||||
if (newprim != rmesa->tcl.hw_primitive ||
|
||||
!discrete_prim[hw_prim&0xf]) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue