summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915simple
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-02-10 15:17:17 +0100
committerMichal Krol <michal@vmware.com>2009-02-10 15:17:17 +0100
commit0020e1d10870e0d24c62e3060a7efb9a6472666d (patch)
treef881d3583bbf4d99a4838d4c8fd1ce7ee2e019a3 /src/gallium/drivers/i915simple
parenta872b518c9179f7ee639feb4de81c62fbf25f4f6 (diff)
i915: Fix build -- rename Size to NrTokens.
Diffstat (limited to 'src/gallium/drivers/i915simple')
-rw-r--r--src/gallium/drivers/i915simple/i915_fpc_translate.c2
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 43d62c5176..d92bdc1bc6 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;
}
}