dzn: Suppress new MSVC warning by upconverting to uint64_t

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38838>
This commit is contained in:
Jesse Natalie 2025-12-05 15:34:21 -08:00 committed by Marge Bot
parent 55e833ae96
commit 7130127e2a

View file

@ -1157,7 +1157,7 @@ need_custom_buffer_descriptor(struct dzn_device *device, const struct dzn_buffer
{
*out_desc = *info;
uint32_t upper_bound_default_descriptor;
uint32_t size_align, offset_align;
uint64_t size_align, offset_align;
/* Canonicalize descriptor types for hash/compare, and get size/align info */
switch (info->type) {
case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC: