mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-09-08 00:48:42 +02:00
Vulkan: Force topology to PatchList for Tessellation
Vulkan spec states that input topology should always be PatchList when a tessellation pipeline is present. The AMD GPU on windows crashes so hard it BSODs the machine if this isn't the case, so it's forced here just in case. I'm not sure what providing a different topology here would even do, as you'd think it would always be a patch list input.
This commit is contained in:
parent
95d252b7b8
commit
7ded3184db
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
{
|
||||
SType = StructureType.PipelineInputAssemblyStateCreateInfo,
|
||||
PrimitiveRestartEnable = primitiveRestartEnable,
|
||||
Topology = Topology,
|
||||
Topology = HasTessellationControlShader ? PrimitiveTopology.PatchList : Topology,
|
||||
};
|
||||
|
||||
var tessellationState = new PipelineTessellationStateCreateInfo
|
||||
|
|
Loading…
Reference in a new issue