radv: bump the maximum number of arguments to 64
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 12 Sep 2018 13:40:05 +0000 (15:40 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 14 Sep 2018 08:59:52 +0000 (10:59 +0200)
Bumping to 64 should be safe enough.

Fixes some crashes with new CTS:
dEQP-VK.binding_model.descriptorset_random.*

CC: 18.2 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_nir_to_llvm.c

index 838e026c8e9984fe314e2575271fa49f3a463234..703112e27afb014086f84aceb4ee0bcd42716d6a 100644 (file)
@@ -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];