diff options
author | Michal Krol <[email protected]> | 2009-02-10 15:18:03 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-02-10 15:18:03 +0100 |
commit | adc68472601991bfd714876ae9b54d2a50f8839b (patch) | |
tree | 02e47a3a0ca2828ba4041c4b5986809dbcf04310 /src/gallium/drivers/nv20/nv20_vertprog.c | |
parent | 276de3ffcf0294225926ca015fbec54d9d3b47ad (diff) |
nv20: Fix build -- rename Size to NrTokens.
Diffstat (limited to 'src/gallium/drivers/nv20/nv20_vertprog.c')
-rw-r--r-- | src/gallium/drivers/nv20/nv20_vertprog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv20/nv20_vertprog.c b/src/gallium/drivers/nv20/nv20_vertprog.c index a885fcd7a56..5db0e807ff5 100644 --- 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, |