Flagged a few more opcodes as pixel-shader-only. trunk
authorRyan C. Gordon <icculus@icculus.org>
Wed, 30 Apr 2008 06:20:39 -0400
branchtrunk
changeset 263 5eda879872ae
parent 262 0f1531ac2578
child 264 2d8d84d1c640
Flagged a few more opcodes as pixel-shader-only.
mojoshader.c
--- a/mojoshader.c	Wed Apr 30 06:09:05 2008 -0400
+++ b/mojoshader.c	Wed Apr 30 06:20:39 2008 -0400
@@ -4101,33 +4101,33 @@
     INSTRUCTION(TEXCOORD, TEXCOORD, MOJOSHADER_TYPE_PIXEL),
     INSTRUCTION_STATE(TEXKILL, D, MOJOSHADER_TYPE_PIXEL),
     INSTRUCTION(TEX, TEX, MOJOSHADER_TYPE_PIXEL),
-    INSTRUCTION(TEXBEM, DS, MOJOSHADER_TYPE_ANY),
-    INSTRUCTION(TEXBEML, DS, MOJOSHADER_TYPE_ANY),
-    INSTRUCTION(TEXREG2AR, DS, MOJOSHADER_TYPE_ANY),
-    INSTRUCTION(TEXREG2GB, DS, MOJOSHADER_TYPE_ANY),
-    INSTRUCTION(TEXM3X2PAD, DS, MOJOSHADER_TYPE_ANY),
-    INSTRUCTION(TEXM3X2TEX, DS, MOJOSHADER_TYPE_ANY),
-    INSTRUCTION(TEXM3X3PAD, DS, MOJOSHADER_TYPE_ANY),
-    INSTRUCTION(TEXM3X3TEX, DS, MOJOSHADER_TYPE_ANY),
+    INSTRUCTION(TEXBEM, DS, MOJOSHADER_TYPE_PIXEL),
+    INSTRUCTION(TEXBEML, DS, MOJOSHADER_TYPE_PIXEL),
+    INSTRUCTION(TEXREG2AR, DS, MOJOSHADER_TYPE_PIXEL),
+    INSTRUCTION(TEXREG2GB, DS, MOJOSHADER_TYPE_PIXEL),
+    INSTRUCTION(TEXM3X2PAD, DS, MOJOSHADER_TYPE_PIXEL),
+    INSTRUCTION(TEXM3X2TEX, DS, MOJOSHADER_TYPE_PIXEL),
+    INSTRUCTION(TEXM3X3PAD, DS, MOJOSHADER_TYPE_PIXEL),
+    INSTRUCTION(TEXM3X3TEX, DS, MOJOSHADER_TYPE_PIXEL),
     INSTRUCTION(RESERVED, NULL, MOJOSHADER_TYPE_UNKNOWN),
-    INSTRUCTION(TEXM3X3SPEC, DSS, MOJOSHADER_TYPE_ANY),
-    INSTRUCTION(TEXM3X3VSPEC, DS, MOJOSHADER_TYPE_ANY),
+    INSTRUCTION(TEXM3X3SPEC, DSS, MOJOSHADER_TYPE_PIXEL),
+    INSTRUCTION(TEXM3X3VSPEC, DS, MOJOSHADER_TYPE_PIXEL),
     INSTRUCTION(EXPP, DS, MOJOSHADER_TYPE_ANY),
     INSTRUCTION(LOGP, DS, MOJOSHADER_TYPE_ANY),
     INSTRUCTION_STATE(CND, DSSS, MOJOSHADER_TYPE_PIXEL),
     INSTRUCTION_STATE(DEF, DEF, MOJOSHADER_TYPE_ANY),
-    INSTRUCTION(TEXREG2RGB, DS, MOJOSHADER_TYPE_ANY),
-    INSTRUCTION(TEXDP3TEX, DS, MOJOSHADER_TYPE_ANY),
-    INSTRUCTION(TEXM3X2DEPTH, DS, MOJOSHADER_TYPE_ANY),
-    INSTRUCTION(TEXDP3, DS, MOJOSHADER_TYPE_ANY),
-    INSTRUCTION(TEXM3X3, DS, MOJOSHADER_TYPE_ANY),
-    INSTRUCTION(TEXDEPTH, D, MOJOSHADER_TYPE_ANY),
+    INSTRUCTION(TEXREG2RGB, DS, MOJOSHADER_TYPE_PIXEL),
+    INSTRUCTION(TEXDP3TEX, DS, MOJOSHADER_TYPE_PIXEL),
+    INSTRUCTION(TEXM3X2DEPTH, DS, MOJOSHADER_TYPE_PIXEL),
+    INSTRUCTION(TEXDP3, DS, MOJOSHADER_TYPE_PIXEL),
+    INSTRUCTION(TEXM3X3, DS, MOJOSHADER_TYPE_PIXEL),
+    INSTRUCTION(TEXDEPTH, D, MOJOSHADER_TYPE_PIXEL),
     INSTRUCTION_STATE(CMP, DSSS, MOJOSHADER_TYPE_PIXEL),
-    INSTRUCTION(BEM, DSS, MOJOSHADER_TYPE_ANY),
-    INSTRUCTION(DP2ADD, DSSS, MOJOSHADER_TYPE_ANY),
+    INSTRUCTION(BEM, DSS, MOJOSHADER_TYPE_PIXEL),
+    INSTRUCTION(DP2ADD, DSSS, MOJOSHADER_TYPE_PIXEL),
     INSTRUCTION(DSX, DS, MOJOSHADER_TYPE_PIXEL),
     INSTRUCTION(DSY, DS, MOJOSHADER_TYPE_PIXEL),
-    INSTRUCTION(TEXLDD, DSSSS, MOJOSHADER_TYPE_ANY),
+    INSTRUCTION(TEXLDD, DSSSS, MOJOSHADER_TYPE_PIXEL),
     INSTRUCTION_STATE(SETP, DSS, MOJOSHADER_TYPE_ANY),
     INSTRUCTION(TEXLDL, DSS, MOJOSHADER_TYPE_ANY),
     INSTRUCTION_STATE(BREAKP, S, MOJOSHADER_TYPE_ANY),