mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 10:24:12 +01:00
[dxvk] Don't do image-to-buffer copies for multisampled images
Vulkan does not allow this.
This commit is contained in:
parent
305c361c00
commit
0be291e123
@ -736,6 +736,12 @@ namespace dxvk {
|
||||
dstImage->handle(), dstImageLayout,
|
||||
1, &imageRegion);
|
||||
} else {
|
||||
// TODO handle this case correctly
|
||||
if (dstImage->info().sampleCount != VK_SAMPLE_COUNT_1_BIT) {
|
||||
Logger::err("DXVK: MSAA depth<>color copies not supported");
|
||||
return;
|
||||
}
|
||||
|
||||
const VkDeviceSize transferBufferSize = std::max(
|
||||
util::computeImageDataSize(dstImage->info().format, extent),
|
||||
util::computeImageDataSize(srcImage->info().format, extent));
|
||||
|
Loading…
Reference in New Issue
Block a user