summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-10-11 17:40:59 +0200
committerSamuel Pitoiset <[email protected]>2019-10-14 08:36:14 +0200
commitea92273cea88b964c6aec45061e74a9ff7339825 (patch)
tree4bb353ed43d4c8138a5ce373cbd066944caa738c /src/amd/vulkan/radv_private.h
parentebe176eeff75b76527fc99d0a0f88b48ab04d0d7 (diff)
radv: fix DCC fast clear code for intensity formats
This fixes a rendering issue with DiRT 4 on GFX10. Only GFX10 was affected because intensity formats are different. Cc: 19.2 <[email protected]> Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1923 Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 1995d59045f..1158a30f767 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -1924,6 +1924,8 @@ VkResult radv_image_create(VkDevice _device,
const VkAllocationCallbacks* alloc,
VkImage *pImage);
+bool vi_alpha_is_on_msb(struct radv_device *device, VkFormat format);
+
VkResult
radv_image_from_gralloc(VkDevice device_h,
const VkImageCreateInfo *base_info,