mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
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:
parent
a176bc6c17
commit
555b5fac4f
2 changed files with 6 additions and 0 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue