tgsi_scan: Remove unused input_array_last/output_array_last.
Last use removed in "radeonsi: remove TGSI" this year. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8044>
This commit is contained in:
parent
6ffdca73d3
commit
486aecbd53
|
@ -615,12 +615,10 @@ scan_declaration(struct tgsi_shader_info *info,
|
|||
case TGSI_FILE_INPUT:
|
||||
assert(array_id < ARRAY_SIZE(info->input_array_first));
|
||||
info->input_array_first[array_id] = fulldecl->Range.First;
|
||||
info->input_array_last[array_id] = fulldecl->Range.Last;
|
||||
break;
|
||||
case TGSI_FILE_OUTPUT:
|
||||
assert(array_id < ARRAY_SIZE(info->output_array_first));
|
||||
info->output_array_first[array_id] = fulldecl->Range.First;
|
||||
info->output_array_last[array_id] = fulldecl->Range.Last;
|
||||
break;
|
||||
}
|
||||
info->array_max[file] = MAX2(info->array_max[file], array_id);
|
||||
|
|
|
@ -72,9 +72,7 @@ struct tgsi_shader_info
|
|||
ubyte num_stream_output_components[4];
|
||||
|
||||
ubyte input_array_first[PIPE_MAX_SHADER_INPUTS];
|
||||
ubyte input_array_last[PIPE_MAX_SHADER_INPUTS];
|
||||
ubyte output_array_first[PIPE_MAX_SHADER_OUTPUTS];
|
||||
ubyte output_array_last[PIPE_MAX_SHADER_OUTPUTS];
|
||||
unsigned array_max[TGSI_FILE_COUNT]; /**< highest index array per register file */
|
||||
|
||||
uint immediate_count; /**< number of immediates declared */
|
||||
|
|
Loading…
Reference in New Issue