Signed-off-by: John Brooks <john@fastquake.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Acked-by: Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17970>
return vk_format_get_blockwidth(format) > 1;
}
+static inline bool
+vk_format_is_block_compressed(VkFormat format)
+{
+ return util_format_is_compressed(vk_format_to_pipe_format(format));
+}
+
static inline const struct util_format_description *
vk_format_description(VkFormat format)
{