mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-16 18:56:34 +00:00
Resolve some errors in logic
This commit is contained in:
parent
acbd9eb98f
commit
7cc334b894
@ -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 New Issue
Block a user