mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-11-26 20:50:40 +00:00
liverpool_to_vk: Add MRT feature flags to supported number formats. (#1087)
This commit is contained in:
parent
c73fad6772
commit
50fc5e339d
@ -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 New Issue
Block a user