mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-23 14:19:52 -06:00
Vulkan: Skip draws when patches topology is used without a tessellation shader (#6508)
This commit is contained in:
@ -21,6 +21,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
public bool HasMinimalLayout { get; }
|
||||
public bool UsePushDescriptors { get; }
|
||||
public bool IsCompute { get; }
|
||||
public bool HasTessellationControlShader => (Stages & (1u << 3)) != 0;
|
||||
|
||||
public uint Stages { get; }
|
||||
|
||||
@ -461,6 +462,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
stages[i] = _shaders[i].GetInfo();
|
||||
}
|
||||
|
||||
pipeline.HasTessellationControlShader = HasTessellationControlShader;
|
||||
pipeline.StagesCount = (uint)_shaders.Length;
|
||||
pipeline.PipelineLayout = PipelineLayout;
|
||||
|
||||
|
Reference in New Issue
Block a user