utils/testparse.c
changeset 1051 96a838f4e680
parent 1046 097aefb03885
child 1055 3295380ce6fc
--- a/utils/testparse.c	Thu Jun 02 03:17:18 2011 -0400
+++ b/utils/testparse.c	Thu Jun 02 14:49:30 2011 -0400
@@ -143,7 +143,7 @@
     const MOJOSHADER_preshaderOperand *operand = &inst->operands[opidx];
     const int elems = inst->element_count;
     const int isscalarop = (inst->opcode >= MOJOSHADER_PRESHADEROP_SCALAR_OPS);
-    const int isscalar = ((isscalarop) && (opidx == 1)); // probably wrong.
+    const int isscalar = ((isscalarop) && (opidx == 0)); // probably wrong.
     int i;
 
     switch (operand->type)