Commit fb4d7944 authored by Joshua Ashton's avatar Joshua Ashton 🐸

[d3d9] Use VK_FORMAT_D24_UNORM_S8_UINT for D3DFMT_DF24

May improve performance in some instances
parent 05de0b20
Pipeline #973 passed with stage
in 4 minutes and 9 seconds
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment