summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r200/r200_context.h
diff options
context:
space:
mode:
authorRoland Scheidegger <rscheidegger@gmx.ch>2006-08-30 13:44:31 +0000
committerRoland Scheidegger <rscheidegger@gmx.ch>2006-08-30 13:44:31 +0000
commita974aaaa3e77a04375e5a9ddd413507596bd743e (patch)
treee06f11b397f59703e129caa9a0d1527e84f17dd4 /src/mesa/drivers/dri/r200/r200_context.h
parente6de1edaf0479f44773e5c841612937c7a891978 (diff)
Minor r200 vertex program cleanups. Remove disabled leftovers from r300 vertex program code. Fix authors. Correct slightly wrong check to determine if ran out of temps. Simplify check to determine if ran out of max instructions. Correctly report used native temps. Always kick off program translation when ProgramStringNotify is called (otherwise the reported native resources used queried might be wrong).
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_context.h')
-rw-r--r--src/mesa/drivers/dri/r200/r200_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_context.h b/src/mesa/drivers/dri/r200/r200_context.h
index 0f646bf30b..b7ee33aa6c 100644
--- a/src/mesa/drivers/dri/r200/r200_context.h
+++ b/src/mesa/drivers/dri/r200/r200_context.h
@@ -102,7 +102,7 @@ typedef void (*r200_point_func)( r200ContextPtr,
struct r200_vertex_program {
struct gl_vertex_program mesa_program; /* Must be first */
int translated;
- VERTEX_SHADER_INSTRUCTION instr[R200_VSF_MAX_INST + 2];
+ VERTEX_SHADER_INSTRUCTION instr[R200_VSF_MAX_INST + 3];
int pos_end;
int inputs[VERT_ATTRIB_MAX];
int native;