From 70decf62218551f642548c5d1ac6fdcc49ce6d9d Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 4 Apr 2008 09:48:55 -0400 Subject: [PATCH] Make ctx->mainline the default output list. Now D3D profile can insert output in front of disassembly, if needed. --HG-- branch : trunk --- mojoshader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mojoshader.c b/mojoshader.c index 5b8ddd6d..31ec65a1 100644 --- a/mojoshader.c +++ b/mojoshader.c @@ -3366,7 +3366,7 @@ static Context *build_context(const char *profile, 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;