mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 01:24:11 +01:00
[dxgi] Fix format parameter in CheckImageFormatSupport
This commit is contained in:
parent
2bdd614d07
commit
0704b044a9
@ -904,7 +904,7 @@ namespace dxvk {
|
||||
const Rc<DxvkAdapter>& Adapter,
|
||||
VkFormat Format,
|
||||
VkFormatFeatureFlags Features) const {
|
||||
VkFormatProperties supported = Adapter->formatProperties(VK_FORMAT_D24_UNORM_S8_UINT);
|
||||
VkFormatProperties supported = Adapter->formatProperties(Format);
|
||||
|
||||
return (supported.linearTilingFeatures & Features) == Features
|
||||
|| (supported.optimalTilingFeatures & Features) == Features;
|
||||
|
Loading…
Reference in New Issue
Block a user