mojoshader.c
changeset 1087 16f9d37b2656
parent 1086 8dc4844bb579
child 1088 d2c20b029834
--- a/mojoshader.c	Sun Apr 15 01:23:16 2012 -0400
+++ b/mojoshader.c	Sun Apr 15 02:03:00 2012 -0400
@@ -6785,7 +6785,7 @@
         else if (src1->regtype != REG_TYPE_SAMPLER)
             fail(ctx, "TEXLD src1 must be sampler register");
         else if (src1->src_mod != SRCMOD_NONE)
-            fail(ctx, "TEXLD src0 must have no modifiers");
+            fail(ctx, "TEXLD src1 must have no modifiers");
         else if ( (ctx->instruction_controls != CONTROL_TEXLD) &&
                   (ctx->instruction_controls != CONTROL_TEXLDP) &&
                   (ctx->instruction_controls != CONTROL_TEXLDB) )