ac: make ac_shader_abi::inputs an array instead of a pointer

Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12570>
This commit is contained in:
Marek Olšák
2021-08-21 10:16:47 -04:00
committed by Marge Bot
parent 6df5f268db
commit 1e178f7a37
5 changed files with 3 additions and 19 deletions

View File

@@ -30,8 +30,6 @@
struct pipe_debug_callback;
#define RADEON_LLVM_MAX_INPUTS 32 * 4
/* Ideally pass the sample mask input to the PS epilog as v14, which
* is its usual location, so that the shader doesn't have to add v_mov.
*/
@@ -60,8 +58,6 @@ struct si_shader_context {
struct ac_shader_args args;
struct ac_shader_abi abi;
LLVMValueRef inputs[RADEON_LLVM_MAX_INPUTS];
LLVMBasicBlockRef merged_wrap_if_entry_block;
int merged_wrap_if_label;