projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adc6847
)
nv30: Fix build -- rename Size to NrTokens.
author
Michal Krol
<michal@vmware.com>
Tue, 10 Feb 2009 14:18:19 +0000
(15:18 +0100)
committer
Michal Krol
<michal@vmware.com>
Tue, 10 Feb 2009 14:18:19 +0000
(15:18 +0100)
src/gallium/drivers/nv30/nv30_vertprog.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv30/nv30_vertprog.c
b/src/gallium/drivers/nv30/nv30_vertprog.c
index 72824559e8befd5c9af6f5869281afd1d3780477..d26272505705b96fc45843e071ef16ee3a4e74d7 100644
(file)
--- a/
src/gallium/drivers/nv30/nv30_vertprog.c
+++ b/
src/gallium/drivers/nv30/nv30_vertprog.c
@@
-613,7
+613,7
@@
nv30_vertprog_translate(struct nv30_context *nv30,
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,