1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-18 04:54:15 +01:00

[dxvk] Remove old querySubresourceLayout method

This commit is contained in:
Philip Rebohle 2024-10-31 21:26:05 +01:00 committed by Philip Rebohle
parent c5d776c3b8
commit 81bdf191cb
2 changed files with 0 additions and 22 deletions

View File

@ -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;

View File

@ -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