projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a872b51
)
i915: Fix build -- rename Size to NrTokens.
author
Michal Krol
<michal@vmware.com>
Tue, 10 Feb 2009 14:17:17 +0000
(15:17 +0100)
committer
Michal Krol
<michal@vmware.com>
Tue, 10 Feb 2009 14:17:17 +0000
(15:17 +0100)
src/gallium/drivers/i915simple/i915_fpc_translate.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i915simple/i915_fpc_translate.c
b/src/gallium/drivers/i915simple/i915_fpc_translate.c
index 43d62c517656df3d2c891bdcaea714b8ca876883..d92bdc1bc657c5f1bbd7acbf63577f78a83b5f31 100644
(file)
--- 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;
}
}