mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-16 11:30:20 +01:00
fix assertion
This commit is contained in:
parent
7c86e10193
commit
fd89396012
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ get_register_pointer( GLcontext *ctx,
|
|||
return machine->Inputs[source->Index];
|
||||
case PROGRAM_OUTPUT:
|
||||
/* This is only needed for the PRINT instruction */
|
||||
ASSERT(source->Index < MAX_NV_VERTEX_PROGRAM_OUTPUTS);
|
||||
ASSERT(source->Index < VERT_RESULT_MAX);
|
||||
return machine->Outputs[source->Index];
|
||||
case PROGRAM_LOCAL_PARAM:
|
||||
ASSERT(source->Index < MAX_PROGRAM_LOCAL_PARAMS);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue