mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 14:10:09 +01:00
ac: use bigger storage for ac_arg::arg_index / ac_shader_args::arg_count
AC_MAX_ARGS is now 384 so uint8_t isn't enough.
Fixes: 6f13034265 ("ac/llvm: prepare for passing VS->TCS IO via VGPRs")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7750>
This commit is contained in:
parent
0b3bd7c516
commit
e5ff2a357e
1 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ enum ac_arg_type
|
|||
};
|
||||
|
||||
struct ac_arg {
|
||||
uint8_t arg_index;
|
||||
uint16_t arg_index;
|
||||
bool used;
|
||||
};
|
||||
|
||||
|
|
@ -63,7 +63,7 @@ struct ac_shader_args {
|
|||
bool skip;
|
||||
} args[AC_MAX_ARGS];
|
||||
|
||||
uint8_t arg_count;
|
||||
uint16_t arg_count;
|
||||
uint8_t sgpr_count;
|
||||
uint8_t num_sgprs_used;
|
||||
uint8_t num_vgprs_used;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue