mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
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:
parent
7ab3fff68f
commit
4a2b4257d4
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue