mojoshader.c
changeset 1282 a9b48833d3b6
parent 1281 cfa04188aee2
child 1283 c198fe1c469a
--- a/mojoshader.c	Sun Jul 19 23:44:13 2020 -0400
+++ b/mojoshader.c	Mon Jul 20 14:50:10 2020 -0400
@@ -1937,8 +1937,6 @@
         if (info->regtype != REG_TYPE_TEXTURE)
             fail(ctx, "TEX param must be a texture register");
         add_sampler(ctx, sampler, TEXTURE_TYPE_2D, 0);
-        add_attribute_register(ctx, REG_TYPE_TEXTURE, sampler,
-                               MOJOSHADER_USAGE_TEXCOORD, sampler, 0xF, 0);
     } // else
 } // state_TEXLD