Missing: tgsi: Fix build -- rename Size to NrTokens.
authorPatrice Mandin <patmandin@gmail.com>
Tue, 10 Feb 2009 17:31:41 +0000 (18:31 +0100)
committerPatrice Mandin <patmandin@gmail.com>
Tue, 10 Feb 2009 17:31:41 +0000 (18:31 +0100)
src/mesa/state_tracker/st_mesa_to_tgsi.c

index 5b5707fa1c5c84c60ffc026edff69c0c2d58c535..8b9b18f94df6cb52cf652d3119f8469d5a11a6e6 100644 (file)
@@ -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;