projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
276de3f
)
nv20: Fix build -- rename Size to NrTokens.
author
Michal Krol
<michal@vmware.com>
Tue, 10 Feb 2009 14:18:03 +0000
(15:18 +0100)
committer
Michal Krol
<michal@vmware.com>
Tue, 10 Feb 2009 14:18:03 +0000
(15:18 +0100)
src/gallium/drivers/nv20/nv20_vertprog.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv20/nv20_vertprog.c
b/src/gallium/drivers/nv20/nv20_vertprog.c
index a885fcd7a567702595c890fda5e68d1652902c8b..5db0e807ff52a98b7bce0fd5879f618b2a7213a1 100644
(file)
--- a/
src/gallium/drivers/nv20/nv20_vertprog.c
+++ b/
src/gallium/drivers/nv20/nv20_vertprog.c
@@
-613,7
+613,7
@@
nv20_vertprog_translate(struct nv20_context *nv20,
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,