Set a default topology state that can be overwritten later if needed.
This commit is contained in:
parent
1a43536092
commit
2d1af4ddb4
3 changed files with 8 additions and 3 deletions
|
@ -1105,6 +1105,8 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
_newState.HasTessellationControlShader = internalProgram.HasTessellationControlShader;
|
||||
_newState.StagesCount = (uint)stages.Length;
|
||||
|
||||
_newState.Topology = internalProgram.ShaderTopology;
|
||||
|
||||
stages.CopyTo(_newState.Stages.AsSpan()[..stages.Length]);
|
||||
|
||||
SignalStateChange();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue