Revert "rendervulkan: Don't use 10-bit format for VR session"

I fixed this in the next release of SteamVR.

1010102 formats are now supported on Linux + SteamVR.

This reverts commit 6586d5e009.
This commit is contained in:
Joshua Ashton 2023-05-16 17:24:45 +00:00
parent 6586d5e009
commit bd96c4ce5d

View file

@ -3027,8 +3027,7 @@ bool vulkan_make_output( VkSurfaceKHR surface )
if ( BIsVRSession() ) if ( BIsVRSession() )
{ {
//pOutput->outputFormat = VK_FORMAT_A2B10G10R10_UNORM_PACK32; pOutput->outputFormat = VK_FORMAT_A2B10G10R10_UNORM_PACK32;
pOutput->outputFormat = VK_FORMAT_B8G8R8A8_UNORM;
vulkan_make_output_images( pOutput ); vulkan_make_output_images( pOutput );
} }
else if ( BIsNested() == true ) else if ( BIsNested() == true )