From: Keith Whitwell Date: Thu, 1 May 2008 14:36:14 +0000 (+0100) Subject: tgsi: add some const qualifiers to immediate pointers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=afe67db8038855d9f7b4ce46b610701c55736c1f;p=mesa.git tgsi: add some const qualifiers to immediate pointers --- diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_parse.h b/src/gallium/auxiliary/tgsi/util/tgsi_parse.h index da0121c482e..15e76feb7ca 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; };