From e0e5cbd5a4a5edc442e2b7277b5893a7fbdfd597 Mon Sep 17 00:00:00 2001 From: Frank Binns Date: Wed, 13 Apr 2022 12:02:17 +0100 Subject: [PATCH] pvr: replace p_compiler.h boolean with stdbool Signed-off-by: Frank Binns Reviewed-by: Alyssa Rosenzweig Reviewed-by: Jason Ekstrand Part-of: --- src/imagination/vulkan/vk_format.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/imagination/vulkan/vk_format.h b/src/imagination/vulkan/vk_format.h index e4350cdee40..5aa5e36f8d6 100644 --- a/src/imagination/vulkan/vk_format.h +++ b/src/imagination/vulkan/vk_format.h @@ -32,6 +32,7 @@ #ifndef VK_FORMAT_H #define VK_FORMAT_H +#include #include #include @@ -54,7 +55,7 @@ vk_format_is_alpha_on_msb(VkFormat vk_format) #endif } -static inline boolean +static inline bool vk_format_is_pure_integer(VkFormat vk_format) { return util_format_is_pure_integer(vk_format_to_pipe_format(vk_format)); @@ -69,7 +70,7 @@ vk_format_get_channel_width(VkFormat vk_format, uint32_t channel) return desc->channel[channel].size; } -static inline boolean +static inline bool vk_format_has_32bit_component(VkFormat vk_format) { const struct util_format_description *desc = @@ -93,7 +94,7 @@ vk_format_get_component_bits(VkFormat vk_format, component); } -static inline boolean +static inline bool vk_format_is_normalized(VkFormat vk_format) { const struct util_format_description *desc =