mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-21 21:57:39 +01:00
[dxvk] Remove old format support queries
This commit is contained in:
parent
80fc1d8b25
commit
5e394b5554
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user