DST is a vertex-only opcode. trunk
authorRyan C. Gordon <icculus@icculus.org>
Thu, 17 Apr 2008 03:01:57 -0400
branchtrunk
changeset 137 fba803414954
parent 136 8f66fdecd51a
child 138 bdded45212e7
DST is a vertex-only opcode.
mojoshader.c
--- a/mojoshader.c	Thu Apr 17 03:00:35 2008 -0400
+++ b/mojoshader.c	Thu Apr 17 03:01:57 2008 -0400
@@ -3629,7 +3629,7 @@
     INSTRUCTION(EXP, 2, DS, MOJOSHADER_TYPE_ANY),
     INSTRUCTION(LOG, 2, DS, MOJOSHADER_TYPE_ANY),
     INSTRUCTION(LIT, 2, DS, MOJOSHADER_TYPE_ANY),
-    INSTRUCTION(DST, 3, DSS, MOJOSHADER_TYPE_ANY),
+    INSTRUCTION(DST, 3, DSS, MOJOSHADER_TYPE_VERTEX),
     INSTRUCTION(LRP, 4, DSSS, MOJOSHADER_TYPE_ANY),
     INSTRUCTION_STATE(FRC, 2, DS, MOJOSHADER_TYPE_ANY),
     INSTRUCTION_STATE(M4X4, 3, DSS, MOJOSHADER_TYPE_ANY),