From 71bb1a9c3cf37329ee570d3279fbba0dade007d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fredrik=20H=C3=B6glund?= Date: Tue, 7 Mar 2017 01:53:21 +0100 Subject: [PATCH] radv: fix the size of the dynamic_buffers array MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit A buffer descriptor is 16 bytes, not 16 dwords. Signed-off-by: Fredrik Höglund Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index ab3e881..890e6b8 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -728,7 +728,7 @@ struct radv_cmd_buffer { uint32_t queue_family_index; uint8_t push_constants[MAX_PUSH_CONSTANTS_SIZE]; - uint32_t dynamic_buffers[16 * MAX_DYNAMIC_BUFFERS]; + uint32_t dynamic_buffers[4 * MAX_DYNAMIC_BUFFERS]; VkShaderStageFlags push_constant_stages; struct radv_cmd_buffer_upload upload; -- 2.7.4