Skip to content

Commit

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

static void emit_GLSL_BREAKP(Context *ctx)
{
fail(ctx, "unimplemented."); // !!! FIXME
const char *src0 = make_GLSL_sourcearg_string(ctx, 0);
output_line(ctx, "if (%s) { break; }", src0);
} // emit_GLSL_BREAKP

static void emit_GLSL_RESERVED(Context *ctx)
Expand Down

0 comments on commit 8a18c44

Please sign in to comment.