From 1f64823c6647e3013c571af0bcaa03440c5f40e9 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 3 Apr 2008 05:40:37 -0400 Subject: [PATCH] Temp DCL crap for GLSL profile. This gets 2.vsa to not fail, but obviously it's all trash output still. --HG-- branch : trunk --- mojoshader.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mojoshader.c b/mojoshader.c index faa536fa..8c73fc21 100644 --- a/mojoshader.c +++ b/mojoshader.c @@ -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' };