mojoshader.c
branchtrunk
changeset 191 8c38db3edb8d
parent 190 2a2fb0f656cf
child 193 4963871496ca
--- a/mojoshader.c	Fri Apr 25 03:57:48 2008 -0400
+++ b/mojoshader.c	Fri Apr 25 04:04:00 2008 -0400
@@ -2097,11 +2097,7 @@
 
         if (regtype == REG_TYPE_INPUT)
         {
-            // The GL will bind to attr_position_0 or whatever, but we'll
-            //  refer to it in the shader by the original D3D register name.
             push_output(ctx, &ctx->globals);
-            output_line(ctx, "#define %s attr%s_%d", varname,
-                        usagestrs[(int) usage], index);
             output_line(ctx, "attribute vec4 %s;", varname);
             pop_output(ctx);
         } // if