mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-26 18:43:04 +00:00
Resolve some errors in logic
This commit is contained in:
parent
acbd9eb98f
commit
7cc334b894
1 changed files with 1 additions and 4 deletions
|
@ -345,12 +345,9 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache
|
|||
{
|
||||
currentPipelineState.PatchControlPoints = 0;
|
||||
}
|
||||
|
||||
currentPipelineState = program.SpecializationState.PipelineState.Value;
|
||||
}
|
||||
|
||||
|
||||
if (currentPipelineState.Equals(previousPipelineState) || !_context.Capabilities.SupportsExtendedDynamicState)
|
||||
if (!currentPipelineState.Equals(previousPipelineState) || !_context.Capabilities.SupportsExtendedDynamicState || !program.SpecializationState.PipelineState.HasValue)
|
||||
{
|
||||
_hostStorage.AddShader(_context, program, binaryCode, streams);
|
||||
|
||||
|
|
Loading…
Reference in a new issue