From 32cbd5303f3388e6761b06283f8472a01f3702db Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 6 Apr 2008 09:23:40 -0400 Subject: [PATCH] Implemented LOGP in GLSL profile. --HG-- branch : trunk --- mojoshader.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mojoshader.c b/mojoshader.c index 89a1a8d7..65bcd385 100644 --- a/mojoshader.c +++ b/mojoshader.c @@ -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)