diff --git a/src/Ryujinx.Graphics.Vulkan/PipelineFull.cs b/src/Ryujinx.Graphics.Vulkan/PipelineFull.cs index 4be60c2e7..30905c23d 100644 --- a/src/Ryujinx.Graphics.Vulkan/PipelineFull.cs +++ b/src/Ryujinx.Graphics.Vulkan/PipelineFull.cs @@ -241,16 +241,16 @@ namespace Ryujinx.Graphics.Vulkan { if (Pipeline != null) { + // Setting graphics state with a compute pipeline bound crashes the Adreno driver. + if (Pbp == PipelineBindPoint.Graphics) + { + DynamicState.ReplayIfDirty(Gd.Api, CommandBuffer); + } + Gd.Api.CmdBindPipeline(CommandBuffer, Pbp, Pipeline.Get(Cbs).Value); } SignalCommandBufferChange(); - - // Setting graphics state with a compute pipeline bound crashes the Adreno driver. - if (Pbp == PipelineBindPoint.Graphics) - { - DynamicState.ReplayIfDirty(Gd.Api, CommandBuffer); - } } public void FlushCommandsImpl()