Moved SourceArgInfo back to mojoshader.c for now.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 06 Dec 2008 21:19:29 -0500
changeset 468 28f28973ee80
parent 467 577a9d07b6bf
child 469 b8cfaae6c4af
Moved SourceArgInfo back to mojoshader.c for now.
mojoshader.c
mojoshader_internal.h
--- a/mojoshader.c	Sat Dec 06 19:15:21 2008 -0500
+++ b/mojoshader.c	Sat Dec 06 21:19:29 2008 -0500
@@ -130,6 +130,23 @@
     struct RegisterList *next;
 } RegisterList;
 
+typedef struct
+{
+    const uint32 *token;   // this is the unmolested token in the stream.
+    int regnum;
+    int swizzle;  // xyzw (all four, not split out).
+    int swizzle_x;
+    int swizzle_y;
+    int swizzle_z;
+    int swizzle_w;
+    SourceMod src_mod;
+    RegisterType regtype;
+    int relative;
+    RegisterType relative_regtype;
+    int relative_regnum;
+    int relative_component;
+    const VariableList *relative_array;
+} SourceArgInfo;
 
 #define SCRATCH_BUFFER_SIZE 128
 #define SCRATCH_BUFFERS 32
--- a/mojoshader_internal.h	Sat Dec 06 19:15:21 2008 -0500
+++ b/mojoshader_internal.h	Sat Dec 06 21:19:29 2008 -0500
@@ -226,23 +226,6 @@
     RegisterType regtype;
 } DestArgInfo;
 
-typedef struct
-{
-    const uint32 *token;   // this is the unmolested token in the stream.
-    int regnum;
-    int swizzle;  // xyzw (all four, not split out).
-    int swizzle_x;
-    int swizzle_y;
-    int swizzle_z;
-    int swizzle_w;
-    SourceMod src_mod;
-    RegisterType regtype;
-    int relative;
-    RegisterType relative_regtype;
-    int relative_regnum;
-    int relative_component;
-    const VariableList *relative_array;
-} SourceArgInfo;
 
 static inline int scalar_register(const RegisterType regtype, const int regnum)
 {