tsgi: make Consts const
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 17 Apr 2008 13:19:03 +0000 (14:19 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 17 Apr 2008 13:23:13 +0000 (14:23 +0100)
src/gallium/auxiliary/tgsi/exec/tgsi_exec.h

index 45c49dd007c012791d435ad820f586a37ead64dd..92e2e5e9859e82c5b377a5fc801ee765783516d6 100644 (file)
@@ -166,7 +166,7 @@ struct tgsi_exec_machine
 
    float                         Imms[TGSI_EXEC_NUM_IMMEDIATES][4];
    unsigned                      ImmLimit;
-   float                         (*Consts)[4];
+   const float                   (*Consts)[4];
    struct tgsi_exec_vector       *Inputs;
    struct tgsi_exec_vector       *Outputs;
    const struct tgsi_token       *Tokens;