summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-14 14:22:22 -0700
committerBrian <[email protected]>2008-02-14 18:59:24 -0700
commit7a3e59d2363cba6dd2c1edc08d1afffd25b53ea3 (patch)
treeb643db37aae67c14b3c0c4dd3522b5fec21f780e /src/mesa
parent59cc1f4e62268cc73567d3e1cccbc5df9d116311 (diff)
gallium: fix some "instruction"/"declaration" mix-ups in tgsi_exec_prepare().
Diffstat (limited to 'src/mesa')
-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 7801f959727..37e60070686 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;