diff options
author | gdkchan <gab.dark.100@gmail.com> | 2023-02-08 10:34:22 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 14:34:22 +0100 |
commit | f6d5499a16a45347c08d444d76b1355c74194301 (patch) | |
tree | eb8678e76fcf749ff7aed0ac9cc29f6453d4d40a /Ryujinx.Graphics.Vulkan/TextureView.cs | |
parent | 26bf13a65d6689601593a8050970d6835fd9dfe2 (diff) |
Fix some Vulkan validation errors (#4357)1.1.607
Diffstat (limited to 'Ryujinx.Graphics.Vulkan/TextureView.cs')
-rw-r--r-- | Ryujinx.Graphics.Vulkan/TextureView.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Vulkan/TextureView.cs b/Ryujinx.Graphics.Vulkan/TextureView.cs index e58b743d..d60ce39b 100644 --- a/Ryujinx.Graphics.Vulkan/TextureView.cs +++ b/Ryujinx.Graphics.Vulkan/TextureView.cs @@ -90,7 +90,7 @@ namespace Ryujinx.Graphics.Vulkan var componentMapping = new ComponentMapping(swizzleR, swizzleG, swizzleB, swizzleA); var aspectFlags = info.Format.ConvertAspectFlags(info.DepthStencilMode); - var aspectFlagsDepth = info.Format.ConvertAspectFlags(DepthStencilMode.Depth); + var aspectFlagsDepth = info.Format.ConvertAspectFlags(); var subresourceRange = new ImageSubresourceRange(aspectFlags, (uint)firstLevel, levels, (uint)firstLayer, layers); var subresourceRangeDepth = new ImageSubresourceRange(aspectFlagsDepth, (uint)firstLevel, levels, (uint)firstLayer, layers); |