mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 19:30:38 +01:00
fix vp lockups due to incorrectly set up / emitted attrib inputs.
This commit is contained in:
parent
aee30f3f9d
commit
0ddd50c8ae
1 changed files with 2 additions and 1 deletions
|
|
@ -384,7 +384,7 @@ static GLboolean r200_run_tcl_render( GLcontext *ctx,
|
|||
r200ContextPtr rmesa = R200_CONTEXT(ctx);
|
||||
TNLcontext *tnl = TNL_CONTEXT(ctx);
|
||||
struct vertex_buffer *VB = &tnl->vb;
|
||||
GLuint inputs = VERT_BIT_POS | VERT_BIT_COLOR0;
|
||||
GLuint inputs = 0;
|
||||
GLuint i;
|
||||
|
||||
/* TODO: separate this from the swtnl pipeline
|
||||
|
|
@ -404,6 +404,7 @@ static GLboolean r200_run_tcl_render( GLcontext *ctx,
|
|||
r200ValidateState( ctx );
|
||||
|
||||
if (!ctx->VertexProgram._Enabled) {
|
||||
inputs = VERT_BIT_POS | VERT_BIT_COLOR0;
|
||||
/* NOTE: inputs != tnl->render_inputs - these are the untransformed
|
||||
* inputs.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue