diff -r 448766b7c981 -r 097aefb03885 mojoshader.c --- a/mojoshader.c Wed Jun 01 05:35:50 2011 -0400 +++ b/mojoshader.c Wed Jun 01 13:22:21 2011 -0400 @@ -7320,14 +7320,11 @@ return; } // if - MOJOSHADER_preshaderOperand *operand = &inst->operands[1]; + MOJOSHADER_preshaderOperand *operand = inst->operands; while (operand_count--) { const unsigned int item = (unsigned int) SWAP32(fxlc.tokens[2]); - if (operand_count == 0) // List destination first. - operand = &inst->operands[0]; - // !!! FIXME: don't know what first token does. switch (SWAP32(fxlc.tokens[1])) {