mojoshader.h
changeset 1032 464f38a2fb70
parent 1030 a407c516e325
child 1033 b72073c4820e
--- a/mojoshader.h	Mon May 30 19:34:03 2011 -0400
+++ b/mojoshader.h	Mon May 30 19:56:41 2011 -0400
@@ -359,27 +359,35 @@
 {
     MOJOSHADER_PRESHADEROP_NOP,
     MOJOSHADER_PRESHADEROP_MOV,
-    MOJOSHADER_PRESHADEROP_CMP,
-    MOJOSHADER_PRESHADEROP_DOT,
-    MOJOSHADER_PRESHADEROP_DOT_SCALAR,
     MOJOSHADER_PRESHADEROP_NEG,
-    MOJOSHADER_PRESHADEROP_MAX,
-    MOJOSHADER_PRESHADEROP_MAX_SCALAR,
-    MOJOSHADER_PRESHADEROP_CMPLT,
-    MOJOSHADER_PRESHADEROP_CMPLT_SCALAR,
-    MOJOSHADER_PRESHADEROP_CMPGE,
-    MOJOSHADER_PRESHADEROP_CMPGE_SCALAR,
     MOJOSHADER_PRESHADEROP_RCP,
     MOJOSHADER_PRESHADEROP_FRC,
     MOJOSHADER_PRESHADEROP_EXP,
-    MOJOSHADER_PRESHADEROP_ADD,
-    MOJOSHADER_PRESHADEROP_ADD_SCALAR,
-    MOJOSHADER_PRESHADEROP_MUL,
-    MOJOSHADER_PRESHADEROP_MUL_SCALAR,
     MOJOSHADER_PRESHADEROP_LOG,
     MOJOSHADER_PRESHADEROP_RSQ,
     MOJOSHADER_PRESHADEROP_SIN,
     MOJOSHADER_PRESHADEROP_COS,
+    MOJOSHADER_PRESHADEROP_ASIN,
+    MOJOSHADER_PRESHADEROP_ACOS,
+    MOJOSHADER_PRESHADEROP_ATAN,
+    MOJOSHADER_PRESHADEROP_MIN,
+    MOJOSHADER_PRESHADEROP_MAX,
+    MOJOSHADER_PRESHADEROP_CMPLT,
+    MOJOSHADER_PRESHADEROP_CMPGE,
+    MOJOSHADER_PRESHADEROP_ADD,
+    MOJOSHADER_PRESHADEROP_MUL,
+    MOJOSHADER_PRESHADEROP_ATAN2,
+    MOJOSHADER_PRESHADEROP_CMP,
+    MOJOSHADER_PRESHADEROP_DOT,
+    MOJOSHADER_PRESHADEROP_SCALAR_OPS,
+    MOJOSHADER_PRESHADEROP_MIN_SCALAR = MOJOSHADER_PRESHADEROP_SCALAR_OPS,
+    MOJOSHADER_PRESHADEROP_MAX_SCALAR,
+    MOJOSHADER_PRESHADEROP_CMPLT_SCALAR,
+    MOJOSHADER_PRESHADEROP_CMPGE_SCALAR,
+    MOJOSHADER_PRESHADEROP_ADD_SCALAR,
+    MOJOSHADER_PRESHADEROP_MUL_SCALAR,
+    MOJOSHADER_PRESHADEROP_ATAN2_SCALAR,
+    MOJOSHADER_PRESHADEROP_DOT_SCALAR,
 } MOJOSHADER_preshaderOpcode;
 
 typedef enum MOJOSHADER_preshaderOperandType