summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2019-07-26 12:48:04 -0700
committerChad Versace <[email protected]>2019-07-26 12:50:49 -0700
commit2f79a872ba3704492ee9f3a4872b0171923c1cbd (patch)
treebdca8349d1d94c7703c56121f9f2bf2fb7cd330e
parent8f0b7a5ac054e147fadb339b338903f0c83ad019 (diff)
FINISHME: anv: vkGetImageSubresourceLayout for VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT
-rw-r--r--src/intel/vulkan/anv_image.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c
index be09fd50fa0..611e0f74a35 100644
--- a/src/intel/vulkan/anv_image.c
+++ b/src/intel/vulkan/anv_image.c
@@ -993,6 +993,13 @@ void anv_GetImageSubresourceLayout(
{
ANV_FROM_HANDLE(anv_image, image, _image);
+ if (image->tiling.vk == VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT) {
+ /* FINSIHME(VK_EXT_image_drm_format_modifier) */
+ anv_finishme("vkGetImageSubresourceLayout for "
+ "VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT");
+ abort();
+ }
+
const struct anv_surface *surface;
if (subresource->aspectMask == VK_IMAGE_ASPECT_PLANE_1_BIT &&
image->tiling.drm_format_mod != DRM_FORMAT_MOD_INVALID &&