mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-01 16:24:12 +01:00
[d3d9] Use VK_FORMAT_D24_UNORM_S8_UINT for D3DFMT_DF24
May improve performance in some instances
This commit is contained in:
parent
05de0b20a0
commit
fb4d794412
@ -347,7 +347,7 @@ namespace dxvk {
|
||||
case D3D9Format::INST: return {}; // Driver hack, handled elsewhere
|
||||
|
||||
case D3D9Format::DF24: return {
|
||||
VK_FORMAT_D32_SFLOAT,
|
||||
VK_FORMAT_D24_UNORM_S8_UINT,
|
||||
VK_FORMAT_UNDEFINED,
|
||||
VK_IMAGE_ASPECT_DEPTH_BIT,
|
||||
{ VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_ZERO,
|
||||
|
Loading…
Reference in New Issue
Block a user