Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Implemented LOGP in GLSL profile.
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 6, 2008
1 parent ec8fdf4 commit 32cbd53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mojoshader.c
Expand Up @@ -2546,7 +2546,8 @@ static void emit_GLSL_EXPP(Context *ctx)

static void emit_GLSL_LOGP(Context *ctx)
{
fail(ctx, "unimplemented."); // !!! FIXME
// LOGP is just low-precision LOG, but we'll take the higher precision.
emit_GLSL_LOG(ctx);
} // emit_GLSL_LOGP

static void emit_GLSL_CND(Context *ctx)
Expand Down

0 comments on commit 32cbd53

Please sign in to comment.