Mesa (gallium-0.2): nv40: Fix build -- rename Size to NrTokens.
MichaŠKról
michal at kemper.freedesktop.org
Tue Feb 10 14:19:23 UTC 2009
Module: Mesa
Branch: gallium-0.2
Commit: 2644985367874591b8c79c76a2ddd96c603c417f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2644985367874591b8c79c76a2ddd96c603c417f
Author: Michal Krol <michal at vmware.com>
Date: Tue Feb 10 15:18:32 2009 +0100
nv40: Fix build -- rename Size to NrTokens.
---
src/gallium/drivers/nv40/nv40_vertprog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/nv40/nv40_vertprog.c b/src/gallium/drivers/nv40/nv40_vertprog.c
index 1392fe9..0862386 100644
--- 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,
More information about the mesa-commit
mailing list