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:
parent
c5d776c3b8
commit
81bdf191cb
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user