mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-22 14:31:39 +00:00
liverpool_to_vk: Add MRT feature flags to supported number formats. (#1087)
This commit is contained in:
parent
24598c242a
commit
5a4c69d044
|
@ -381,12 +381,13 @@ static constexpr vk::FormatFeatureFlags2 GetNumberFormatFeatureFlags(
|
|||
case AmdGpu::NumberFormat::Uint:
|
||||
case AmdGpu::NumberFormat::Sint:
|
||||
case AmdGpu::NumberFormat::Float:
|
||||
return BufferRead | BufferWrite | ImageRead | ImageWrite;
|
||||
return BufferRead | BufferWrite | ImageRead | ImageWrite | Mrt;
|
||||
case AmdGpu::NumberFormat::Uscaled:
|
||||
case AmdGpu::NumberFormat::Sscaled:
|
||||
case AmdGpu::NumberFormat::SnormNz:
|
||||
return BufferRead | ImageRead;
|
||||
case AmdGpu::NumberFormat::Srgb:
|
||||
return ImageRead | Mrt;
|
||||
case AmdGpu::NumberFormat::Ubnorm:
|
||||
case AmdGpu::NumberFormat::UbnromNz:
|
||||
case AmdGpu::NumberFormat::Ubint:
|
||||
|
|
Loading…
Reference in a new issue