Skip to content

Commit

Permalink
Implemented incorrect-but-better-than-nothing TEXLDL in GLSL profile.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed May 12, 2008
1 parent feef659 commit 828a472
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mojoshader.c
Expand Up @@ -3257,7 +3257,11 @@ static void emit_GLSL_SETP(Context *ctx)

static void emit_GLSL_TEXLDL(Context *ctx)
{
fail(ctx, "TEXLDL unimplemented."); // !!! FIXME
// !!! FIXME: The spec says we can't use GLSL's texture*Lod() built-ins
// !!! FIXME: from fragment shaders for some inexplicable reason.
// !!! FIXME: For now, you'll just have to suffer with the potentially
// !!! FIXME: wrong mipmap until I can figure something out.
emit_GLSL_TEXLD(ctx);
} // emit_GLSL_TEXLDL

static void emit_GLSL_BREAKP(Context *ctx)
Expand Down

0 comments on commit 828a472

Please sign in to comment.