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
80adc8ac3b
commit
b194b9b238
|
@ -412,6 +412,8 @@ static GLboolean radeon_run_render( struct gl_context *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( struct gl_context *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…
Reference in New Issue