mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-01 16:24:12 +01:00
[d3d9] Use converted format for multiplane formats in CheckFormat
This commit is contained in:
parent
bac7ae2929
commit
b7d61b70c1
@ -169,7 +169,11 @@ namespace dxvk {
|
||||
return D3D_OK;
|
||||
|
||||
// Let's actually ask Vulkan now that we got some quirks out the way!
|
||||
return CheckDeviceVkFormat(mapping.FormatColor, Usage, RType);
|
||||
VkFormat format = mapping.FormatColor;
|
||||
if (unlikely(mapping.ConversionFormatInfo.FormatColor != VK_FORMAT_UNDEFINED)) {
|
||||
format = mapping.ConversionFormatInfo.FormatColor;
|
||||
}
|
||||
return CheckDeviceVkFormat(format, Usage, RType);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user