mojoshader.c
branchtrunk
changeset 96 bc416e2b9de1
parent 95 56af2093eefe
child 97 4a41e3d17297
--- a/mojoshader.c	Fri Apr 04 11:29:38 2008 -0400
+++ b/mojoshader.c	Fri Apr 04 11:33:01 2008 -0400
@@ -157,8 +157,6 @@
     emit_finalize finalize_emitter;
 } Profile;
 
-typedef MOJOSHADER_shaderType ShaderType;
-
 typedef enum
 {
     RASTOUT_TYPE_POSITION = 0,
@@ -322,7 +320,7 @@
     int scratchidx;  // current scratch buffer.
     int profileid;
     const Profile *profile;
-    ShaderType shader_type;
+    MOJOSHADER_shaderType shader_type;
     uint8 major_ver;
     uint8 minor_ver;
     DestArgInfo dest_args[1];
@@ -3038,7 +3036,7 @@
 typedef struct
 {
     const char *opcode_string;
-    ShaderType shader_types;  // mask of shader types that can use this opcode.
+    MOJOSHADER_shaderType shader_types;  // mask of types that can use opcode.
     int arg_tokens;
     args_function parse_args;
     state_function state;