diff options
author | Keith Whitwell <[email protected]> | 2008-04-18 17:35:32 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-04-18 18:32:37 +0100 |
commit | c5f0158a9179463593d63b33cf3b5490167faac9 (patch) | |
tree | e78ad01fb82f4f3a5aa8e9a024ea4ed37ec985f7 | |
parent | f631bebe1a05c8af863e514546763433343b7c53 (diff) |
tgsi: add const qualifier to tokens on sse emit
-rwxr-xr-x | src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c | 2 | ||||
-rwxr-xr-x | src/gallium/auxiliary/tgsi/exec/tgsi_sse2.h | 2 |
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] ); |