From: Fredrik Höglund Date: Tue, 7 Mar 2017 00:53:21 +0000 (+0100) Subject: radv: fix the size of the dynamic_buffers array X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71bb1a9c3cf37329ee570d3279fbba0dade007d0;p=mesa.git radv: fix the size of the dynamic_buffers array A buffer descriptor is 16 bytes, not 16 dwords. Signed-off-by: Fredrik Höglund Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index ab3e8815795..890e6b82e30 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;