From 73aed239c356c4c573819eb6ee1e2d414d2d5579 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sun, 4 Dec 2022 15:07:11 -0300 Subject: Implement non-MS to MS copies with draws (#3958) * Implement non-MS to MS copies with draws, simplify MS to non-MS copies and supports any host sample count * Remove unused program --- Ryujinx.Graphics.Vulkan/FramebufferParams.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.Vulkan/FramebufferParams.cs') diff --git a/Ryujinx.Graphics.Vulkan/FramebufferParams.cs b/Ryujinx.Graphics.Vulkan/FramebufferParams.cs index 43ee6f5c..1b99a609 100644 --- a/Ryujinx.Graphics.Vulkan/FramebufferParams.cs +++ b/Ryujinx.Graphics.Vulkan/FramebufferParams.cs @@ -32,6 +32,7 @@ namespace Ryujinx.Graphics.Vulkan Auto view, uint width, uint height, + uint samples, bool isDepthStencil, VkFormat format) { @@ -43,7 +44,7 @@ namespace Ryujinx.Graphics.Vulkan Height = height; Layers = 1; - AttachmentSamples = new[] { 1u }; + AttachmentSamples = new[] { samples }; AttachmentFormats = new[] { format }; AttachmentIndices = new[] { 0 }; -- cgit v1.2.3