summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2009-02-10 18:31:41 +0100
committerPatrice Mandin <[email protected]>2009-02-10 18:31:41 +0100
commitb20a1b28b7e581304701c5802e8627003e461e45 (patch)
treecc945ba200b8c75ea2d668e9662f18395688eeab /src/mesa
parent2f0811054fd53db776531428eef1f6960f180f38 (diff)
Missing: tgsi: Fix build -- rename Size to NrTokens.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_mesa_to_tgsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c
index 5b5707fa1c5..8b9b18f94df 100644
--- a/src/mesa/state_tracker/st_mesa_to_tgsi.c
+++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c
@@ -188,7 +188,7 @@ make_immediate(const float *value, uint size)
struct tgsi_full_immediate imm;
imm = tgsi_default_full_immediate();
- imm.Immediate.Size += size;
+ imm.Immediate.NrTokens += size;
imm.Immediate.DataType = TGSI_IMM_FLOAT32;
imm.u.Pointer = value;
return imm;