tgsi: add const qualifier to tokens on sse emit

This commit is contained in:
Keith Whitwell 2008-04-18 17:35:32 +01:00
parent f631bebe1a
commit c5f0158a91
2 changed files with 2 additions and 2 deletions

View file

@ -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])
{

View file

@ -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]
);