projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
844034d
)
nv40: Fix build -- rename Size to NrTokens.
author
Michal Krol
<michal@vmware.com>
Tue, 10 Feb 2009 14:18:32 +0000
(15:18 +0100)
committer
Michal Krol
<michal@vmware.com>
Tue, 10 Feb 2009 14:18:32 +0000
(15:18 +0100)
src/gallium/drivers/nv40/nv40_vertprog.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv40/nv40_vertprog.c
b/src/gallium/drivers/nv40/nv40_vertprog.c
index 1392fe956f7f6453ca726b5406ee27daa8e4d30d..0862386638cb553cde1a755c87fcfd0b7ebcb756 100644
(file)
--- a/
src/gallium/drivers/nv40/nv40_vertprog.c
+++ b/
src/gallium/drivers/nv40/nv40_vertprog.c
@@
-784,7
+784,7
@@
nv40_vertprog_translate(struct nv40_context *nv40,
imm = &parse.FullToken.FullImmediate;
assert(imm->Immediate.DataType == TGSI_IMM_FLOAT32);
-
// assert(imm->Immediate.Size == 4
);
+
assert(imm->Immediate.NrTokens == 4 + 1
);
vpc->imm[vpc->nr_imm++] =
constant(vpc, -1,
imm->u.ImmediateFloat32[0].Float,