diff options
author | Keith Whitwell <[email protected]> | 2009-08-19 12:00:03 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-08-19 12:00:03 +0100 |
commit | 7dc55275922aa52f281b7d8d4a5d776a3799b762 (patch) | |
tree | 783b33de58694b4a28bd9469a07d53b745a0e982 /src/gallium/auxiliary/tgsi/tgsi_ureg.c | |
parent | 265e210edb2fdf0f6ae777635676f05613b38eb7 (diff) |
tgsi: remove unused function argument
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ureg.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ureg.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c index 2fa1eb4c105..2121f4d77cf 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c @@ -739,8 +739,7 @@ static void copy_instructions( struct ureg_program *ureg ) static void -fixup_header_size(struct ureg_program *ureg, - unsigned insn ) +fixup_header_size(struct ureg_program *ureg ) { union tgsi_any_token *out = retrieve_token( ureg, DOMAIN_DECL, 1 ); @@ -768,12 +767,11 @@ emit_header( struct ureg_program *ureg ) void *ureg_create_shader( struct ureg_program *ureg ) { struct pipe_shader_state state; - unsigned insn; emit_header( ureg ); emit_decls( ureg ); copy_instructions( ureg ); - fixup_header_size( ureg, insn ); + fixup_header_size( ureg ); if (ureg->domain[0].tokens == error_tokens || ureg->domain[1].tokens == error_tokens) { |