ac: correct ac_shader_args types, remove sgpr_count

sgpr_count is unused. The size of the others is too small.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7939>
This commit is contained in:
Marek Olšák
2020-12-04 11:17:58 -05:00
committed by Marge Bot
parent 50dad7366e
commit 2cf44ad30a

View File

@@ -64,9 +64,8 @@ struct ac_shader_args {
} args[AC_MAX_ARGS];
uint16_t arg_count;
uint8_t sgpr_count;
uint8_t num_sgprs_used;
uint8_t num_vgprs_used;
uint16_t num_sgprs_used;
uint16_t num_vgprs_used;
struct ac_arg base_vertex;
struct ac_arg start_instance;