diff --git a/src/dxvk/dxvk_image.cpp b/src/dxvk/dxvk_image.cpp index 9476fcc4b..bc25c49be 100644 --- a/src/dxvk/dxvk_image.cpp +++ b/src/dxvk/dxvk_image.cpp @@ -71,17 +71,6 @@ namespace dxvk { } - VkSubresourceLayout DxvkImage::querySubresourceLayout( - const VkImageSubresource& subresource) const { - VkSubresourceLayout result = { }; - - m_vkd->vkGetImageSubresourceLayout(m_vkd->device(), - m_imageInfo.image, &subresource, &result); - - return result; - } - - HANDLE DxvkImage::sharedHandle() const { HANDLE handle = INVALID_HANDLE_VALUE; diff --git a/src/dxvk/dxvk_image.h b/src/dxvk/dxvk_image.h index 784416db2..f98184370 100644 --- a/src/dxvk/dxvk_image.h +++ b/src/dxvk/dxvk_image.h @@ -492,17 +492,6 @@ namespace dxvk { */ bool canRelocate() const; - /** - * \brief Queries memory layout of a subresource - * - * Can be used to retrieve the exact pointer to a - * subresource of a mapped image with linear tiling. - * \param [in] subresource The image subresource - * \returns Memory layout of that subresource - */ - VkSubresourceLayout querySubresourceLayout( - const VkImageSubresource& subresource) const; - /** * \brief Create a new shared handle to dedicated memory backing the image * \returns The shared handle with the type given by DxvkSharedHandleInfo::type