vk: Properly register D32_SFLOAT as a depth-stencil format (#9396)

This commit is contained in:
kd-11 2020-12-09 05:06:27 +03:00 committed by GitHub
parent a7e5c255b4
commit f8d2830ac7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,6 +92,7 @@ namespace vk
switch (surface_format)
{
case VK_FORMAT_D16_UNORM:
case VK_FORMAT_D32_SFLOAT:
case VK_FORMAT_D24_UNORM_S8_UINT:
case VK_FORMAT_D32_SFLOAT_S8_UINT:
key |= (u64(surface_format) << 8);