mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-25 20:06:17 +00:00
fix: Disable eBlockTexelViewCompatible on MoltenVK
This commit is contained in:
parent
14b082f5ea
commit
ae2053c487
1 changed files with 2 additions and 1 deletions
|
@ -105,7 +105,8 @@ Image::Image(const Vulkan::Instance& instance_, Vulkan::Scheduler& scheduler_,
|
|||
if (info.props.is_volume) {
|
||||
flags |= vk::ImageCreateFlagBits::e2DArrayCompatible;
|
||||
}
|
||||
if (info.props.is_block) {
|
||||
// Not supported by MoltenVK.
|
||||
if (info.props.is_block && instance->GetDriverID() != vk::DriverId::eMoltenvk) {
|
||||
flags |= vk::ImageCreateFlagBits::eBlockTexelViewCompatible;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue