turnip: increase array sizes in tu_descriptor_map
authorJonathan Marek <jonathan@marek.ca>
Thu, 27 Feb 2020 19:30:28 +0000 (14:30 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 28 Feb 2020 14:04:20 +0000 (14:04 +0000)
Pending the descriptor rework, this allows running the follow test:
dEQP-VK.renderpass.suballocation.attachment_sparse_filling.input_attachment_127

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3979>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3979>

src/freedreno/vulkan/tu_private.h

index d076df1fdbce0793283c0a89c4b49ddfd503822c..dd0107bb6f51ebc2fcc77a45c519d55d4f05d2bd 100644 (file)
@@ -1076,10 +1076,10 @@ struct tu_descriptor_map
    /* TODO: avoid fixed size array/justify the size */
    unsigned num; /* number of array entries */
    unsigned num_desc; /* Number of descriptors (sum of array_size[]) */
-   int set[64];
-   int binding[64];
-   int value[64];
-   int array_size[64];
+   int set[128];
+   int binding[128];
+   int value[128];
+   int array_size[128];
 };
 
 struct tu_shader