|
|
|
@ -121,7 +121,7 @@ void ImageBase::InsertView(const ImageViewInfo& view_info, ImageViewId image_vie |
|
|
|
image_view_ids.push_back(image_view_id); |
|
|
|
} |
|
|
|
|
|
|
|
bool ImageBase::IsSafeDownload() const noexcept { |
|
|
|
bool ImageBase::IsSafeGpuCopy() const noexcept { |
|
|
|
// Skip images that were not modified from the GPU
|
|
|
|
if (False(flags & ImageFlagBits::GpuModified)) { |
|
|
|
return false; |
|
|
|
@ -131,6 +131,13 @@ bool ImageBase::IsSafeDownload() const noexcept { |
|
|
|
if (True(flags & ImageFlagBits::CpuModified)) { |
|
|
|
return false; |
|
|
|
} |
|
|
|
return true; |
|
|
|
} |
|
|
|
|
|
|
|
bool ImageBase::IsSafeDownload() const noexcept { |
|
|
|
if (!IsSafeGpuCopy()) { |
|
|
|
return false; |
|
|
|
} |
|
|
|
if (info.num_samples > 1) { |
|
|
|
LOG_WARNING(HW_GPU, "MSAA image downloads are not implemented"); |
|
|
|
return false; |
|
|
|
|