zink: use vk enum members for ntv util returns

fix c++ includes

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39359>
This commit is contained in:
Mike Blumenkrantz 2026-01-16 14:48:52 -05:00
parent 7ab3fff68f
commit 4a2b4257d4

View file

@ -75,7 +75,7 @@ zink_sampler_type(const struct glsl_type *type)
default:
UNREACHABLE("unimplemented");
}
return 0;
return VK_DESCRIPTOR_TYPE_MAX_ENUM;
}
static inline VkDescriptorType
@ -96,7 +96,7 @@ zink_image_type(const struct glsl_type *type)
default:
UNREACHABLE("unimplemented");
}
return 0;
return VK_DESCRIPTOR_TYPE_MAX_ENUM;
}
bool