Skip to content

Commit

Permalink
Temp DCL crap for GLSL profile.
Browse files Browse the repository at this point in the history
This gets 2.vsa to not fail, but obviously it's all trash output still.

--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 3, 2008
1 parent 35e90e4 commit 1f64823
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions mojoshader.c
Expand Up @@ -1662,9 +1662,13 @@ static void emit_GLSL_LABEL(Context *ctx)

static void emit_GLSL_DCL(Context *ctx)
{
fail(ctx, "unimplemented."); // !!! FIXME
// fail(ctx, "unimplemented."); // !!! FIXME
// !!! FIXME
push_output(ctx, &ctx->globals);
output_line(ctx, "DCL GOES HERE");
pop_output(ctx);
#if 0
const char *dst0 = make_D3D_destarg_string(ctx, 0);
const char *dst0 = make_GLSL_destarg_string(ctx, 0);
const DestArgInfo *arg = &ctx->dest_args[0];
const char *usage_str = "";
char index_str[16] = { '\0' };
Expand Down

0 comments on commit 1f64823

Please sign in to comment.