Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make ctx->mainline the default output list.
Now D3D profile can insert output in front of disassembly, if needed.

--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 4, 2008
1 parent 97e1f97 commit 70decf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -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;
Expand Down

0 comments on commit 70decf6

Please sign in to comment.