Temp DCL crap for GLSL profile. trunk
authorRyan C. Gordon <icculus@icculus.org>
Thu, 03 Apr 2008 05:40:37 -0400
branchtrunk
changeset 59 1545354b2791
parent 58 c39f3685012c
child 60 790a87c64c79
Temp DCL crap for GLSL profile. This gets 2.vsa to not fail, but obviously it's all trash output still.
mojoshader.c
--- a/mojoshader.c	Wed Apr 02 16:57:16 2008 -0400
+++ b/mojoshader.c	Thu Apr 03 05:40:37 2008 -0400
@@ -1662,9 +1662,13 @@
 
 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' };