tgsi: add some const qualifiers to immediate pointers
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 1 May 2008 14:36:14 +0000 (15:36 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 1 May 2008 14:37:30 +0000 (15:37 +0100)
src/gallium/auxiliary/tgsi/util/tgsi_parse.h

index da0121c482ee2a584ba9aa71ef1cc093b60debcd..15e76feb7ca3234e9008f8fc09b35d666935a976 100644 (file)
@@ -52,8 +52,8 @@ struct tgsi_full_immediate
    struct tgsi_immediate   Immediate;
    union
    {
-      void                          *Pointer;
-      struct tgsi_immediate_float32 *ImmediateFloat32;
+      const void                          *Pointer;
+      const struct tgsi_immediate_float32 *ImmediateFloat32;
    } u;
 };