mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-27 04:25:12 +00:00
test
This commit is contained in:
parent
4019319d92
commit
7e9de37fe4
@ -85,8 +85,10 @@ static vk::ImageUsageFlags ImageUsageFlags(const ImageInfo& info) {
|
|||||||
// involve re-creating the resource with a new configuration and copying previous content
|
// involve re-creating the resource with a new configuration and copying previous content
|
||||||
// into it. However, for now, we will set storage usage for all images (if the format
|
// into it. However, for now, we will set storage usage for all images (if the format
|
||||||
// allows), sacrificing a bit of performance. Note use of ExtendedUsage flag set by default.
|
// allows), sacrificing a bit of performance. Note use of ExtendedUsage flag set by default.
|
||||||
|
if (!info.IsBlockCoded()) {
|
||||||
usage |= vk::ImageUsageFlagBits::eStorage;
|
usage |= vk::ImageUsageFlagBits::eStorage;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return usage;
|
return usage;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user