gfxstream: guest: nuke unused functions
These functions are not used. Reviewed-by: Aaron Ruby <aruby@blackberry.com> Acked-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246>
This commit is contained in:

committed by
Marge Bot

parent
84941bcbc5
commit
97304dffdf
@@ -204,10 +204,6 @@ const T* vk_find_struct(const H* head) {
|
||||
vk_get_vk_struct_id<T>::id));
|
||||
}
|
||||
|
||||
uint32_t vk_get_driver_version(void);
|
||||
|
||||
uint32_t vk_get_version_override(void);
|
||||
|
||||
#define VK_EXT_OFFSET (1000000000UL)
|
||||
#define VK_ENUM_EXTENSION(__enum) \
|
||||
((__enum) >= VK_EXT_OFFSET ? ((((__enum)-VK_EXT_OFFSET) / 1000UL) + 1) : 0)
|
||||
@@ -242,18 +238,6 @@ void vk_append_struct(vk_struct_chain_iterator* i, T* vk_struct) {
|
||||
*i = vk_make_chain_iterator(vk_struct);
|
||||
}
|
||||
|
||||
bool vk_descriptor_type_has_image_view(VkDescriptorType type) {
|
||||
switch (type) {
|
||||
case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER:
|
||||
case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE:
|
||||
case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
|
||||
case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
bool vk_descriptor_type_has_descriptor_buffer(VkDescriptorType type) {
|
||||
switch (type) {
|
||||
case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER:
|
||||
@@ -266,16 +250,6 @@ bool vk_descriptor_type_has_descriptor_buffer(VkDescriptorType type) {
|
||||
}
|
||||
}
|
||||
|
||||
bool vk_descriptor_type_has_texel_buffer(VkDescriptorType type) {
|
||||
switch (type) {
|
||||
case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER:
|
||||
case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif /* VK_UTIL_H */
|
||||
|
Reference in New Issue
Block a user