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.PatchControlPoints = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
currentPipelineState = program.SpecializationState.PipelineState.Value;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!currentPipelineState.Equals(previousPipelineState) || !_context.Capabilities.SupportsExtendedDynamicState || !program.SpecializationState.PipelineState.HasValue)
|
||||||
if (currentPipelineState.Equals(previousPipelineState) || !_context.Capabilities.SupportsExtendedDynamicState)
|
|
||||||
{
|
{
|
||||||
_hostStorage.AddShader(_context, program, binaryCode, streams);
|
_hostStorage.AddShader(_context, program, binaryCode, streams);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue