mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-23 06:09:59 -06:00
Fix NRE when loading Vulkan shader cache with Vertex A shaders (#4124)
This commit is contained in:
@ -53,7 +53,7 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache
|
|||||||
{
|
{
|
||||||
CachedShaderStage currentStage = stages[i];
|
CachedShaderStage currentStage = stages[i];
|
||||||
|
|
||||||
if (currentStage != null && currentStage.Info.Stage == stage && currentStage.Info != null)
|
if (currentStage?.Info != null && currentStage.Info.Stage == stage)
|
||||||
{
|
{
|
||||||
return ShaderCache.GetBindings(currentStage.Info);
|
return ShaderCache.GetBindings(currentStage.Info);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user