Reinstate vertex format after a rasterization fallback for both r200 and radeon driver when a tcl fallback is active, fixes a blender issue with non-tcl hw (bug #5601)
This commit is contained in:
@@ -717,6 +717,9 @@ void r200Fallback( GLcontext *ctx, GLuint bit, GLboolean mode )
|
||||
* zero above. But not if it doesn't (R200_NO_TCL for
|
||||
* example?)
|
||||
*/
|
||||
_tnl_invalidate_vertex_state( ctx, ~0 );
|
||||
_tnl_invalidate_vertices( ctx, ~0 );
|
||||
rmesa->tnl_index = 0;
|
||||
r200ChooseVertexState( ctx );
|
||||
r200ChooseRenderState( ctx );
|
||||
}
|
||||
|
||||
@@ -936,6 +936,9 @@ void radeonFallback( GLcontext *ctx, GLuint bit, GLboolean mode )
|
||||
* zero above. But not if it doesn't (RADEON_NO_TCL for
|
||||
* example?)
|
||||
*/
|
||||
_tnl_invalidate_vertex_state( ctx, ~0 );
|
||||
_tnl_invalidate_vertices( ctx, ~0 );
|
||||
rmesa->tnl_index = 0;
|
||||
radeonChooseVertexState( ctx );
|
||||
radeonChooseRenderState( ctx );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user