Mesa (master): turnip: increase array sizes in tu_descriptor_map
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Feb 28 14:28:09 UTC 2020
Module: Mesa
Branch: master
Commit: c7ac1bcea0198c86a1e208ece50c1af5da2cb339
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7ac1bcea0198c86a1e208ece50c1af5da2cb339
Author: Jonathan Marek <jonathan at marek.ca>
Date: Thu Feb 27 14:30:28 2020 -0500
turnip: increase array sizes in tu_descriptor_map
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 at marek.ca>
Reviewed-by: Eric Anholt <eric at 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 | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h
index d076df1fdbc..dd0107bb6f5 100644
--- a/src/freedreno/vulkan/tu_private.h
+++ b/src/freedreno/vulkan/tu_private.h
@@ -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
More information about the mesa-commit
mailing list