summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-05-01 15:36:14 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-05-01 15:37:30 +0100
commitafe67db8038855d9f7b4ce46b610701c55736c1f (patch)
tree9e6379165225d95edd37b556d66b1105cff3e5e1
parentbf1e120b318ba8cbda7316fb8862acd44a3b459f (diff)
tgsi: add some const qualifiers to immediate pointers
-rw-r--r--src/gallium/auxiliary/tgsi/util/tgsi_parse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_parse.h b/src/gallium/auxiliary/tgsi/util/tgsi_parse.h
index da0121c482..15e76feb7c 100644
--- a/src/gallium/auxiliary/tgsi/util/tgsi_parse.h
+++ b/src/gallium/auxiliary/tgsi/util/tgsi_parse.h
@@ -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;
};