nv20: Fix build -- rename Size to NrTokens.
authorMichal Krol <michal@vmware.com>
Tue, 10 Feb 2009 14:18:03 +0000 (15:18 +0100)
committerMichal Krol <michal@vmware.com>
Tue, 10 Feb 2009 14:18:03 +0000 (15:18 +0100)
src/gallium/drivers/nv20/nv20_vertprog.c

index a885fcd7a567702595c890fda5e68d1652902c8b..5db0e807ff52a98b7bce0fd5879f618b2a7213a1 100644 (file)
@@ -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,