mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-03 04:24:11 +01:00
[dxgi] Remove format lookup methods from IDXGIVkAdapter interface
This commit is contained in:
parent
cc7f5c4bb1
commit
af2f5cc77f
@ -335,13 +335,6 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
|
||||
DXGI_VK_FORMAT_FAMILY STDMETHODCALLTYPE DxgiAdapter::LookupFormatFamily(
|
||||
DXGI_FORMAT Format,
|
||||
DXGI_VK_FORMAT_MODE Mode) {
|
||||
return m_formats.GetFormatFamily(Format, Mode);
|
||||
}
|
||||
|
||||
|
||||
HRESULT DxgiAdapter::GetOutputFromMonitor(
|
||||
HMONITOR Monitor,
|
||||
IDXGIOutput** ppOutput) {
|
||||
|
@ -79,11 +79,7 @@ namespace dxvk {
|
||||
|
||||
DXGI_VK_FORMAT_INFO STDMETHODCALLTYPE LookupFormat(
|
||||
DXGI_FORMAT Format,
|
||||
DXGI_VK_FORMAT_MODE Mode) final;
|
||||
|
||||
DXGI_VK_FORMAT_FAMILY STDMETHODCALLTYPE LookupFormatFamily(
|
||||
DXGI_FORMAT Format,
|
||||
DXGI_VK_FORMAT_MODE Mode) final;
|
||||
DXGI_VK_FORMAT_MODE Mode);
|
||||
|
||||
HRESULT GetOutputFromMonitor(
|
||||
HMONITOR Monitor,
|
||||
|
@ -106,32 +106,6 @@ IDXGIVkAdapter : public IDXGIAdapter3 {
|
||||
IDXGIObject* pContainer,
|
||||
const dxvk::DxvkDeviceFeatures* pFeatures,
|
||||
IDXGIVkDevice** ppDevice) = 0;
|
||||
|
||||
/**
|
||||
* \brief Maps a DXGI format to a compatible Vulkan format
|
||||
*
|
||||
* For color formats, the returned Vulkan format has the
|
||||
* same memory layout as the DXGI format so that it can
|
||||
* be mapped and copied to buffers. For depth-stencil
|
||||
* formats, this is not guaranteed.
|
||||
* \param [in] format The DXGI format
|
||||
* \param [in] mode Format lookup mode
|
||||
* \returns Vulkan format mapping
|
||||
*/
|
||||
virtual dxvk::DXGI_VK_FORMAT_INFO STDMETHODCALLTYPE LookupFormat(
|
||||
DXGI_FORMAT Format,
|
||||
dxvk::DXGI_VK_FORMAT_MODE Mode) = 0;
|
||||
|
||||
/**
|
||||
* \brief Queries the compatibility family of a given format
|
||||
*
|
||||
* \param [in] Format The DXGI format
|
||||
* \param [in] Mode Format lookup mode
|
||||
* \returns Format family
|
||||
*/
|
||||
virtual dxvk::DXGI_VK_FORMAT_FAMILY STDMETHODCALLTYPE LookupFormatFamily(
|
||||
DXGI_FORMAT Format,
|
||||
dxvk::DXGI_VK_FORMAT_MODE Mode) = 0;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user