Make ctx->mainline the default output list. trunk
authorRyan C. Gordon <icculus@icculus.org>
Fri, 04 Apr 2008 09:48:55 -0400
branchtrunk
changeset 93 fb4f31787e6f
parent 92 bc1bb138e855
child 94 57adfb4769a0
Make ctx->mainline the default output list. Now D3D profile can insert output in front of disassembly, if needed.
mojoshader.c
--- a/mojoshader.c	Fri Apr 04 09:45:04 2008 -0400
+++ b/mojoshader.c	Fri Apr 04 09:48:55 2008 -0400
@@ -3366,7 +3366,7 @@
     ctx->subroutines.tail = &ctx->subroutines.head;
     ctx->mainline.tail = &ctx->mainline.head;
     ctx->ignore.tail = &ctx->ignore.head;
-    ctx->output = &ctx->globals;
+    ctx->output = &ctx->mainline;
 
     const int profileid = find_profile_id(profile);
     ctx->profileid = profileid;