diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-12-04 15:07:11 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 15:07:11 -0300 |
commit | 73aed239c356c4c573819eb6ee1e2d414d2d5579 (patch) | |
tree | a62251a52f79673925161a9843339df81483fbfb /Ryujinx.Graphics.Vulkan/TextureCopy.cs | |
parent | 9ac66336a216644a1b671e7949702d2e749838d2 (diff) |
Implement non-MS to MS copies with draws (#3958)1.1.420
* Implement non-MS to MS copies with draws, simplify MS to non-MS copies and supports any host sample count
* Remove unused program
Diffstat (limited to 'Ryujinx.Graphics.Vulkan/TextureCopy.cs')
-rw-r--r-- | Ryujinx.Graphics.Vulkan/TextureCopy.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Vulkan/TextureCopy.cs b/Ryujinx.Graphics.Vulkan/TextureCopy.cs index 4403df15..c7ce2d99 100644 --- a/Ryujinx.Graphics.Vulkan/TextureCopy.cs +++ b/Ryujinx.Graphics.Vulkan/TextureCopy.cs @@ -389,7 +389,7 @@ namespace Ryujinx.Graphics.Vulkan null, 0, src.VkFormat, - TextureStorage.ConvertToSampleCountFlags((uint)src.Info.Samples), + TextureStorage.ConvertToSampleCountFlags(gd.Capabilities.SupportedSampleCounts, (uint)src.Info.Samples), AttachmentLoadOp.Load, AttachmentStoreOp.Store, AttachmentLoadOp.Load, @@ -402,7 +402,7 @@ namespace Ryujinx.Graphics.Vulkan null, 0, dst.VkFormat, - TextureStorage.ConvertToSampleCountFlags((uint)dst.Info.Samples), + TextureStorage.ConvertToSampleCountFlags(gd.Capabilities.SupportedSampleCounts, (uint)dst.Info.Samples), AttachmentLoadOp.Load, AttachmentStoreOp.Store, AttachmentLoadOp.Load, |