Update liverpool_to_vk.cpp

This commit is contained in:
georgemoralis 2024-07-18 18:19:46 +03:00 committed by GitHub
parent 879b8dcfe8
commit e8bd2a3334

View file

@ -448,6 +448,7 @@ vk::Format SurfaceFormat(AmdGpu::DataFormat data_format, AmdGpu::NumberFormat nu
if (data_format == AmdGpu::DataFormat::Format16_16 &&
num_format == AmdGpu::NumberFormat::Uint) {
return vk::Format::eR16G16Uint;
}
if (data_format == AmdGpu::DataFormat::Format8 && num_format == AmdGpu::NumberFormat::Uint) {
return vk::Format::eR8Uint;
}