Use R16_UNORM, fixes 10bit encoding on NVIDIA

This commit is contained in:
Patrick Nicolas committed 2026-01-30 15:00:21 +01:00
1 parent f3cfa0d747
commit 0efa540ce0
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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;