nv2a/vk: Load 16b float depth textures as unorm to match surface w/a

This commit is contained in:
Matt Borgerson 2024-12-29 19:41:11 -07:00 committed by mborgerson
parent c098b82108
commit 28c9f5f6ef
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ static const VkColorFormatInfo kelvin_color_format_vk_map[66] = {
{ VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_ZERO, VK_COMPONENT_SWIZZLE_ZERO, VK_COMPONENT_SWIZZLE_ZERO },
},
[NV097_SET_TEXTURE_FORMAT_COLOR_LU_IMAGE_DEPTH_Y16_FLOAT] = {
VK_FORMAT_R16_SFLOAT,
VK_FORMAT_R16_UNORM, // FIXME
{ VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_ZERO, VK_COMPONENT_SWIZZLE_ONE, VK_COMPONENT_SWIZZLE_ZERO },
},
[NV097_SET_TEXTURE_FORMAT_COLOR_LU_IMAGE_Y16] = {