Fixed POW output in ARB1 profile. trunk
authorRyan C. Gordon <icculus@icculus.org>
Mon, 02 Jun 2008 16:49:19 -0400
branchtrunk
changeset 352 15a255ed9f0d
parent 351 b205f647ee4b
child 353 fadf01bb3f62
Fixed POW output in ARB1 profile.
mojoshader.c
--- a/mojoshader.c	Mon Jun 02 16:47:27 2008 -0400
+++ b/mojoshader.c	Mon Jun 02 16:49:19 2008 -0400
@@ -4124,7 +4124,7 @@
     const char *src1 = make_ARB1_srcarg_string(ctx, 1);
     const char *scratch = allocate_ARB1_scratch_reg_name(ctx);
     output_line(ctx, "ABS %s, %s;", scratch, src0);
-    output_line(ctx, "POW%s %s.x, %s;", dst, scratch, src1);
+    output_line(ctx, "POW%s, %s.x, %s;", dst, scratch, src1);
     emit_ARB1_dest_modifiers(ctx);
 } // emit_ARB1_POW