From: Patrice Mandin Date: Tue, 10 Feb 2009 17:31:41 +0000 (+0100) Subject: Missing: tgsi: Fix build -- rename Size to NrTokens. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b20a1b28b7e581304701c5802e8627003e461e45;p=mesa.git Missing: tgsi: Fix build -- rename Size to NrTokens. --- 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;