mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
gallium/aux/tgsi_ureg.c: remove unused parameter from match_or_expand_immediate64
remove "type" from "match_or_expand_immediate64", fixes:
tgsi/tgsi_ureg.c: In function 'match_or_expand_immediate64':
tgsi/tgsi_ureg.c:837:34: warning: unused parameter 'type' [-Wunused-
parameter]
int type,
^~~~
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
f79b980486
commit
3e091d5a7a
1 changed files with 1 additions and 2 deletions
|
|
@ -834,7 +834,6 @@ struct ureg_src ureg_DECL_memory(struct ureg_program *ureg,
|
|||
|
||||
static int
|
||||
match_or_expand_immediate64( const unsigned *v,
|
||||
int type,
|
||||
unsigned nr,
|
||||
unsigned *v2,
|
||||
unsigned *pnr2,
|
||||
|
|
@ -886,7 +885,7 @@ match_or_expand_immediate( const unsigned *v,
|
|||
if (type == TGSI_IMM_FLOAT64 ||
|
||||
type == TGSI_IMM_UINT64 ||
|
||||
type == TGSI_IMM_INT64)
|
||||
return match_or_expand_immediate64(v, type, nr, v2, pnr2, swizzle);
|
||||
return match_or_expand_immediate64(v, nr, v2, pnr2, swizzle);
|
||||
|
||||
*swizzle = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue