mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-23 16:37:06 +00:00
misc: chore: Remove redundant code
This commit is contained in:
parent
340ec79e9f
commit
05a88ccc94
109 changed files with 271 additions and 412 deletions
|
|
@ -131,7 +131,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
TriFanToTrisPattern = new IndexBufferPattern(Gd, 3, 3, 2, [int.MinValue, -1, 0], 1, true);
|
||||
}
|
||||
|
||||
public unsafe void Barrier()
|
||||
public void Barrier()
|
||||
{
|
||||
Gd.Barriers.QueueMemoryBarrier();
|
||||
}
|
||||
|
|
@ -255,7 +255,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
Gd.Api.CmdClearAttachments(CommandBuffer, 1, &attachment, 1, &clearRect);
|
||||
}
|
||||
|
||||
public unsafe void CommandBufferBarrier()
|
||||
public void CommandBufferBarrier()
|
||||
{
|
||||
Gd.Barriers.QueueCommandBufferBarrier();
|
||||
}
|
||||
|
|
@ -1348,7 +1348,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
_descriptorSetUpdater.ForceImageDirty();
|
||||
}
|
||||
|
||||
public unsafe void TextureBarrier()
|
||||
public void TextureBarrier()
|
||||
{
|
||||
Gd.Barriers.QueueTextureBarrier();
|
||||
}
|
||||
|
|
@ -1446,7 +1446,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
_newState.SamplesCount = FramebufferParams.AttachmentSamples.Length != 0 ? FramebufferParams.AttachmentSamples[0] : 1;
|
||||
}
|
||||
|
||||
protected unsafe void CreateRenderPass()
|
||||
protected void CreateRenderPass()
|
||||
{
|
||||
var hasFramebuffer = FramebufferParams != null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue