From 0ed9eafa85b1a5c3dd5c7b938785f217dfcf65bb Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 3 Apr 2008 10:05:58 -0400 Subject: [PATCH] Note to self. --HG-- branch : trunk --- mojoshader.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mojoshader.c b/mojoshader.c index 017b3ac0..51e379f3 100644 --- a/mojoshader.c +++ b/mojoshader.c @@ -1863,6 +1863,9 @@ static void emit_GLSL_LABEL(Context *ctx) if (!get_bit_array(ctx->labels_called, sizeof (ctx->labels_called), label)) ctx->output = &ctx->ignore; // Func not used. Parse, but don't output. + // !!! FIXME: it would be nice if we could determine if a function is + // !!! FIXME: only called once and, if so, forcibly inline it. + output_line(ctx, "void %s(void)", labelstr); output_line(ctx, "{"); ctx->indent++;