summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-14 14:22:22 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-02-14 18:59:24 -0700
commit7a3e59d2363cba6dd2c1edc08d1afffd25b53ea3 (patch)
treeb643db37aae67c14b3c0c4dd3522b5fec21f780e
parent59cc1f4e62268cc73567d3e1cccbc5df9d116311 (diff)
gallium: fix some "instruction"/"declaration" mix-ups in tgsi_exec_prepare().
-rw-r--r--src/mesa/pipe/tgsi/exec/tgsi_exec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_exec.c b/src/mesa/pipe/tgsi/exec/tgsi_exec.c
index 7801f95972..37e6007068 100644
--- a/src/mesa/pipe/tgsi/exec/tgsi_exec.c
+++ b/src/mesa/pipe/tgsi/exec/tgsi_exec.c
@@ -158,13 +158,13 @@ tgsi_exec_prepare( struct tgsi_exec_machine *mach )
if (numDeclarations == maxDeclarations) {
declarations = REALLOC(declarations,
maxDeclarations
- * sizeof(struct tgsi_full_instruction),
+ * sizeof(struct tgsi_full_declaration),
(maxDeclarations + 10)
- * sizeof(struct tgsi_full_instruction));
+ * sizeof(struct tgsi_full_declaration));
maxDeclarations += 10;
}
memcpy(declarations + numDeclarations,
- &parse.FullToken.FullInstruction,
+ &parse.FullToken.FullDeclaration,
sizeof(declarations[0]));
numDeclarations++;
break;