mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-27 04:16:46 -08:00
Use R16_UNORM, fixes 10bit encoding on NVIDIA
This commit is contained in:
1 parent
f3cfa0d747
commit
0efa540ce0
2 files changed
+3
-3
No files matched your search
@@ -379,7 +379,7 @@ std::array<encoder_settings, 3> get_encoder_settings(wivrn_vk_bundle & bundle, c
|
||||
return true;
|
||||
};
|
||||
|
||||
if (bit_depth == 10 and not(check_format(vk::Format::eR10X6UnormPack16) and check_vaapi(*bit_depth)))
|
||||
if (bit_depth == 10 and not(check_format(vk::Format::eR16Unorm) and check_vaapi(*bit_depth)))
|
||||
{
|
||||
U_LOG_W("GPU does not have sufficient support for 10-bit images, reverting to 8");
|
||||
bit_depth = 8;
|
||||
|
||||
Reference in new issue
Block a user