[dxvk] Remove old format support queries

This commit is contained in:
Philip Rebohle 2022-08-17 15:20:44 +02:00
parent 80fc1d8b25
commit 5e394b5554
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 1 additions and 48 deletions

View File

@ -73,25 +73,6 @@ namespace dxvk {
}
VkFormatProperties DxvkAdapter::formatProperties(VkFormat format) const {
VkFormatProperties formatProperties;
m_vki->vkGetPhysicalDeviceFormatProperties(m_handle, format, &formatProperties);
return formatProperties;
}
VkResult DxvkAdapter::imageFormatProperties(
VkFormat format,
VkImageType type,
VkImageTiling tiling,
VkImageUsageFlags usage,
VkImageCreateFlags flags,
VkImageFormatProperties& properties) const {
return m_vki->vkGetPhysicalDeviceImageFormatProperties(
m_handle, format, type, tiling, usage, flags, &properties);
}
DxvkAdapterQueueIndices DxvkAdapter::findQueueFamilies() const {
uint32_t graphicsQueue = findQueueFamily(
VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT,

View File

@ -21,7 +21,7 @@ namespace dxvk {
};
/**
* \brief Adapter memory heap info
* \brief Adapter memory hfeap info
*
* Stores info about a heap, and the amount
* of memory allocated from it by the app.
@ -145,34 +145,6 @@ namespace dxvk {
DxvkFormatFeatures getFormatFeatures(
VkFormat format) const;
/**
* \brief Queries format support
*
* \param [in] format The format to query
* \returns Format support info
*/
VkFormatProperties formatProperties(
VkFormat format) const;
/**
* \brief Queries image format support
*
* \param [in] format Format to query
* \param [in] type Image type
* \param [in] tiling Image tiling
* \param [in] usage Image usage flags
* \param [in] flags Image create flags
* \param [out] properties Format properties
* \returns \c VK_SUCCESS or \c VK_ERROR_FORMAT_NOT_SUPPORTED
*/
VkResult imageFormatProperties(
VkFormat format,
VkImageType type,
VkImageTiling tiling,
VkImageUsageFlags usage,
VkImageCreateFlags flags,
VkImageFormatProperties& properties) const;
/**
* \brief Retrieves queue family indices
* \returns Indices for all queue families