summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-04-18 17:35:32 +0100
committerKeith Whitwell <[email protected]>2008-04-18 18:32:37 +0100
commitc5f0158a9179463593d63b33cf3b5490167faac9 (patch)
treee78ad01fb82f4f3a5aa8e9a024ea4ed37ec985f7
parentf631bebe1a05c8af863e514546763433343b7c53 (diff)
tgsi: add const qualifier to tokens on sse emit
-rwxr-xr-xsrc/gallium/auxiliary/tgsi/exec/tgsi_sse2.c2
-rwxr-xr-xsrc/gallium/auxiliary/tgsi/exec/tgsi_sse2.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c
index c37e201b2bc..0a3a7559ca4 100755
--- a/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c
+++ b/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c
@@ -2332,7 +2332,7 @@ emit_declaration(
*/
unsigned
tgsi_emit_sse2(
- struct tgsi_token *tokens,
+ const struct tgsi_token *tokens,
struct x86_function *func,
float (*immediates)[4])
{
diff --git a/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.h b/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.h
index d56bf7f98ab..063287dc5e9 100755
--- a/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.h
+++ b/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.h
@@ -10,7 +10,7 @@ struct x86_function;
unsigned
tgsi_emit_sse2(
- struct tgsi_token *tokens,
+ const struct tgsi_token *tokens,
struct x86_function *function,
float (*immediates)[4]
);