From 6e7f0617004e875cf77a2b931ead596269e7b99f Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 21 Apr 2008 02:45:45 -0400 Subject: [PATCH] Reinitialize Context::dwords on each new instruction. --HG-- branch : trunk --- mojoshader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mojoshader.c b/mojoshader.c index 092c8a37..85e88c2b 100644 --- a/mojoshader.c +++ b/mojoshader.c @@ -3963,6 +3963,7 @@ static int parse_instruction_token(Context *ctx) instruction->opcode_string); } // if + memset(ctx->dwords, '\0', sizeof (ctx->dwords)); ctx->instruction_count++; ctx->instruction_controls = controls; ctx->predicated = predicated;