Vulkan: Skip draws when patches topology is used without a tessellation shader (#6508)

This commit is contained in:
gdkchan 2024-04-06 13:25:51 -03:00 committed by GitHub
parent 66b1d59c66
commit 791bf22109
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 0 deletions

View file

@ -981,6 +981,7 @@ namespace Ryujinx.Graphics.Vulkan
_bindingBarriersDirty = true;
_newState.PipelineLayout = internalProgram.PipelineLayout;
_newState.HasTessellationControlShader = internalProgram.HasTessellationControlShader;
_newState.StagesCount = (uint)stages.Length;
stages.CopyTo(_newState.Stages.AsSpan()[..stages.Length]);