mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
tgsi: remove unused function argument
This commit is contained in:
parent
265e210edb
commit
7dc5527592
1 changed files with 2 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue