mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-09 21:31:04 +00:00
fix: Disable eBlockTexelViewCompatible on MoltenVK
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user