Fix some Vulkan validation errors (#4357)
This commit is contained in:
parent
26bf13a65d
commit
f6d5499a16
4 changed files with 26 additions and 14 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue