aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-09-12 15:40:05 +0200
committerSamuel Pitoiset <[email protected]>2018-09-14 10:59:52 +0200
commitb9f6521157ab55073eec528cacc1f3b567e49503 (patch)
tree45b17c00a2be06c1d025d1c17727d7e3b0331dc7 /src
parentc28ea92947ca7af205420be7789704e62c44ddd7 (diff)
radv: bump the maximum number of arguments to 64
Bumping to 64 should be safe enough. Fixes some crashes with new CTS: dEQP-VK.binding_model.descriptorset_random.* CC: 18.2 <[email protected]> Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/amd/vulkan/radv_nir_to_llvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_nir_to_llvm.c b/src/amd/vulkan/radv_nir_to_llvm.c
index 838e026c8e9..703112e27af 100644
--- a/src/amd/vulkan/radv_nir_to_llvm.c
+++ b/src/amd/vulkan/radv_nir_to_llvm.c
@@ -416,7 +416,7 @@ get_tcs_out_current_patch_data_offset(struct radv_shader_context *ctx)
patch0_patch_data_offset);
}
-#define MAX_ARGS 23
+#define MAX_ARGS 64
struct arg_info {
LLVMTypeRef types[MAX_ARGS];
LLVMValueRef *assign[MAX_ARGS];