mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-29 16:27:56 +02:00
misc: chore: Fix possible NullReferenceExceptions, InvalidOperationExceptions
This commit is contained in:
@@ -1691,6 +1691,11 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
return false;
|
||||
}
|
||||
|
||||
if (_renderPass == null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
var pipeline = pbp == PipelineBindPoint.Compute
|
||||
? _newState.CreateComputePipeline(Gd, Device, _program, PipelineCache)
|
||||
: _newState.CreateGraphicsPipeline(Gd, Device, _program, PipelineCache, _renderPass.Get(Cbs).Value);
|
||||
|
||||
Reference in New Issue
Block a user