mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-15 05:50:08 +00:00
vk_texture_runtime: Fix CopyTextures
MSAA support
This commit is contained in:
parent
7388e4e32d
commit
149ef4d900
@ -464,8 +464,8 @@ bool TextureRuntime::CopyTextures(Surface& source, Surface& dest,
|
||||
.pipeline_flags = source.PipelineStageFlags() | dest.PipelineStageFlags(),
|
||||
.src_access = source.AccessFlags(),
|
||||
.dst_access = dest.AccessFlags(),
|
||||
.src_image = source.Image(),
|
||||
.dst_image = dest.Image(),
|
||||
.src_image = (source.GetSampleCount() > 1) ? source.Image(3) : source.Image(),
|
||||
.dst_image = (dest.GetSampleCount() > 1) ? dest.Image(3) : dest.Image(),
|
||||
};
|
||||
|
||||
scheduler.Record([params, copy](vk::CommandBuffer cmdbuf) {
|
||||
|
Loading…
Reference in New Issue
Block a user