projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59cc1f4
)
gallium: fix some "instruction"/"declaration" mix-ups in tgsi_exec_prepare().
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 14 Feb 2008 21:22:22 +0000
(14:22 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Fri, 15 Feb 2008 01:59:24 +0000
(18:59 -0700)
src/mesa/pipe/tgsi/exec/tgsi_exec.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/tgsi/exec/tgsi_exec.c
b/src/mesa/pipe/tgsi/exec/tgsi_exec.c
index 7801f95972730b3cd270c9eb0b07fefabb1b70cb..37e60070686be9b41b1071d45a4c3953a89804bc 100644
(file)
--- 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_
instruc
tion),
+ * sizeof(struct tgsi_full_
declara
tion),
(maxDeclarations + 10)
- * sizeof(struct tgsi_full_
instruc
tion));
+ * sizeof(struct tgsi_full_
declara
tion));
maxDeclarations += 10;
}
memcpy(declarations + numDeclarations,
- &parse.FullToken.Full
Instruc
tion,
+ &parse.FullToken.Full
Declara
tion,
sizeof(declarations[0]));
numDeclarations++;
break;