From: Brian Date: Thu, 18 Oct 2007 17:05:03 +0000 (-0600) Subject: added const qualifiers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b21f4ac15fc190b474e1686d50a6992caed9c388;p=mesa.git added const qualifiers --- diff --git a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c old mode 100644 new mode 100755 index d840d64cae4..d0d5719c93d --- a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c +++ b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c @@ -1824,7 +1824,7 @@ emit_declaration( unsigned tgsi_emit_sse2( - struct tgsi_token *tokens, + const struct tgsi_token *tokens, struct x86_function *func ) { struct tgsi_parse_context parse; @@ -1889,7 +1889,7 @@ tgsi_emit_sse2( */ unsigned tgsi_emit_sse2_fs( - struct tgsi_token *tokens, + const struct tgsi_token *tokens, struct x86_function *func ) { struct tgsi_parse_context parse; diff --git a/src/mesa/pipe/tgsi/exec/tgsi_sse2.h b/src/mesa/pipe/tgsi/exec/tgsi_sse2.h old mode 100644 new mode 100755 index 9bee3717665..60fdd5f61fc --- a/src/mesa/pipe/tgsi/exec/tgsi_sse2.h +++ b/src/mesa/pipe/tgsi/exec/tgsi_sse2.h @@ -10,12 +10,12 @@ struct x86_function; unsigned tgsi_emit_sse2( - struct tgsi_token *tokens, + const struct tgsi_token *tokens, struct x86_function *function ); unsigned tgsi_emit_sse2_fs( - struct tgsi_token *tokens, + const struct tgsi_token *tokens, struct x86_function *function ); #if defined __cplusplus