Module: Mesa Branch: main Commit: b5b3a1634fd1fd210751dc4367b26508c2985bd5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5b3a1634fd1fd210751dc4367b26508c2985bd5
Author: Iago Toral Quiroga <[email protected]> Date: Fri Sep 9 12:57:54 2022 +0200 v3dv: fix variable type The heap size is a 64-bit value. Reviewed-by: Alejandro PiƱeiro <[email protected] Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18483> --- src/broadcom/vulkan/v3dv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/broadcom/vulkan/v3dv_device.c b/src/broadcom/vulkan/v3dv_device.c index e3437af544f..3da4a073fae 100644 --- a/src/broadcom/vulkan/v3dv_device.c +++ b/src/broadcom/vulkan/v3dv_device.c @@ -1384,7 +1384,7 @@ v3dv_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice, STATIC_ASSERT(MAX_STORAGE_BUFFERS >= MAX_DYNAMIC_STORAGE_BUFFERS); const uint32_t page_size = 4096; - const uint32_t mem_size = compute_heap_size(); + const uint64_t mem_size = compute_heap_size(); const uint32_t max_varying_components = 16 * 4;
