diff options
author | Chad Versace <[email protected]> | 2015-12-04 16:18:35 -0800 |
---|---|---|
committer | Chad Versace <[email protected]> | 2015-12-04 16:37:05 -0800 |
commit | a09b4c298ceed529ffc6dc5f48b1721aeb1d08a0 (patch) | |
tree | b67d35f2b94030f093e1489ab811bad88106e24c /src/vulkan/anv_private.h | |
parent | 8b9ceda9f17a0f5def5319210bbe5cfec2f69ed2 (diff) |
anv: Add func anv_get_isl_format()
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r-- | src/vulkan/anv_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index c1b777e5973..156905ffa5d 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -1385,6 +1385,9 @@ extern const struct anv_format *const anv_format_s8_uint; const struct anv_format * anv_format_for_vk_format(VkFormat format); +enum isl_format +anv_get_isl_format(VkFormat format, VkImageAspectFlags aspect); + static inline bool anv_format_is_color(const struct anv_format *format) { |