diff options
author | Gert Wollny <[email protected]> | 2018-06-05 13:58:55 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2018-06-20 11:08:28 +0200 |
commit | dc46b2aa990b85f47794a604141ec8239ffe868a (patch) | |
tree | 75ca7ffebd167da0545b8342bd5b1794262a5691 /src/gallium | |
parent | f06194b012c0c2b40d514cf6e31d7e60055e27af (diff) |
gallium/aux/tgsi_build.c: Remove unused parameters prev_token from various functions
remove parameter prev_token unused in
tgsi_build_instruction_label
tgsi_build_instruction_texture
tgsi_build_instruction_memory
tgsi_build_texture_offset
This fixes the following warnings:
tgsi/tgsi_build.c: In function 'tgsi_build_instruction_label':
tgsi/tgsi_build.c:716:24: warning: unused parameter 'prev_token' [-
Wunused-parameter]
struct tgsi_token *prev_token,
^~~~~~~~~~
tgsi/tgsi_build.c: In function 'tgsi_build_instruction_texture':
tgsi/tgsi_build.c:749:23: warning: unused parameter 'prev_token' [-
Wunused-parameter]
struct tgsi_token *prev_token,
^~~~~~~~~~
tgsi/tgsi_build.c: In function 'tgsi_build_instruction_memory':
tgsi/tgsi_build.c:784:23: warning: unused parameter 'prev_token' [-
Wunused-parameter]
struct tgsi_token *prev_token,
^~~~~~~~~~
tgsi/tgsi_build.c: In function 'tgsi_build_texture_offset':
tgsi/tgsi_build.c:819:23: warning: unused parameter 'prev_token' [-
Wunused-parameter]
struct tgsi_token *prev_token,
^~~~~~~~~~
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_build.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_build.c b/src/gallium/auxiliary/tgsi/tgsi_build.c index 36c36d93c0f..2bb4a9dd7db 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_build.c +++ b/src/gallium/auxiliary/tgsi/tgsi_build.c @@ -712,7 +712,6 @@ tgsi_default_instruction_label( void ) static struct tgsi_instruction_label tgsi_build_instruction_label( unsigned label, - struct tgsi_token *prev_token, struct tgsi_instruction *instruction, struct tgsi_header *header ) { @@ -745,7 +744,6 @@ tgsi_build_instruction_texture( unsigned texture, unsigned num_offsets, unsigned return_type, - struct tgsi_token *prev_token, struct tgsi_instruction *instruction, struct tgsi_header *header ) { @@ -780,7 +778,6 @@ tgsi_build_instruction_memory( unsigned qualifier, unsigned texture, unsigned format, - struct tgsi_token *prev_token, struct tgsi_instruction *instruction, struct tgsi_header *header ) { @@ -815,7 +812,6 @@ tgsi_default_texture_offset( void ) static struct tgsi_texture_offset tgsi_build_texture_offset( int index, int file, int swizzle_x, int swizzle_y, int swizzle_z, - struct tgsi_token *prev_token, struct tgsi_instruction *instruction, struct tgsi_header *header ) { @@ -1091,7 +1087,6 @@ tgsi_build_full_instruction( *instruction_label = tgsi_build_instruction_label( full_inst->Label.Label, - prev_token, instruction, header ); prev_token = (struct tgsi_token *) instruction_label; @@ -1110,7 +1105,6 @@ tgsi_build_full_instruction( full_inst->Texture.Texture, full_inst->Texture.NumOffsets, full_inst->Texture.ReturnType, - prev_token, instruction, header ); prev_token = (struct tgsi_token *) instruction_texture; @@ -1128,7 +1122,6 @@ tgsi_build_full_instruction( full_inst->TexOffsets[i].SwizzleX, full_inst->TexOffsets[i].SwizzleY, full_inst->TexOffsets[i].SwizzleZ, - prev_token, instruction, header); prev_token = (struct tgsi_token *) texture_offset; @@ -1148,7 +1141,6 @@ tgsi_build_full_instruction( full_inst->Memory.Qualifier, full_inst->Memory.Texture, full_inst->Memory.Format, - prev_token, instruction, header ); prev_token = (struct tgsi_token *) instruction_memory; |