projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c86e10
)
fix assertion
author
Brian
<brian@yutani.localnet.net>
Thu, 22 Feb 2007 23:02:18 +0000
(16:02 -0700)
committer
Brian
<brian@yutani.localnet.net>
Thu, 22 Feb 2007 23:02:18 +0000
(16:02 -0700)
src/mesa/shader/nvvertexec.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/nvvertexec.c
b/src/mesa/shader/nvvertexec.c
index cf7b3d448d1687575f754c8e8d293cfa44c7538e..7dc0edbd9e64d3f00bf010c981bb971143c12ce2 100644
(file)
--- a/
src/mesa/shader/nvvertexec.c
+++ b/
src/mesa/shader/nvvertexec.c
@@
-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);