diff options
author | Gert Wollny <[email protected]> | 2018-06-05 13:59:03 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2018-06-20 11:08:28 +0200 |
commit | 3e091d5a7ad03897fab01be0f3af8a8c1b98a0e2 (patch) | |
tree | a31afa88b078158ea759e40911b5938d259a662a /src/gallium | |
parent | f79b9804862e61a93a60498d7360d991b332cb2c (diff) |
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 <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ureg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c index da8b9be3d7b..02fbf0181f0 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c @@ -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; |