diff options
author | Michal Krol <michal@vmware.com> | 2009-02-10 15:17:17 +0100 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2009-02-10 15:17:17 +0100 |
commit | 0020e1d10870e0d24c62e3060a7efb9a6472666d (patch) | |
tree | f881d3583bbf4d99a4838d4c8fd1ce7ee2e019a3 /src/gallium/drivers | |
parent | a872b518c9179f7ee639feb4de81c62fbf25f4f6 (diff) |
i915: Fix build -- rename Size to NrTokens.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/i915simple/i915_fpc_translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915simple/i915_fpc_translate.c b/src/gallium/drivers/i915simple/i915_fpc_translate.c index 43d62c51765..d92bdc1bc65 100644 --- a/src/gallium/drivers/i915simple/i915_fpc_translate.c +++ b/src/gallium/drivers/i915simple/i915_fpc_translate.c @@ -964,7 +964,7 @@ i915_translate_instructions(struct i915_fp_compile *p, = &parse.FullToken.FullImmediate; const uint pos = p->num_immediates++; uint j; - for (j = 0; j < imm->Immediate.Size; j++) { + for (j = 0; j < imm->Immediate.NrTokens - 1; j++) { p->immediates[pos][j] = imm->u.ImmediateFloat32[j].Float; } } |