Skip to content

Commit

Permalink
Fixed POW output in ARB1 profile.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Jun 2, 2008
1 parent 1850dcc commit 623f54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -4124,7 +4124,7 @@ static void emit_ARB1_POW(Context *ctx)
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

Expand Down

0 comments on commit 623f54e

Please sign in to comment.