Added pragmas to hide wrong suggestions

Ideally this code would be refactored such that this is not needed
merge-requests/93/head
MrKev312 2025-08-01 22:47:20 +02:00 committed by GreemDev
parent d081aa8a74
commit 416ddba209
1 changed files with 8 additions and 0 deletions

View File

@ -701,7 +701,9 @@ namespace Ryujinx.Graphics.Vulkan
_vertexBufferUpdater.Commit(Cbs);
}
#pragma warning disable CA1822 // Mark members as static
public void SetAlphaTest(bool enable, float reference, CompareOp op)
#pragma warning restore CA1822 // Mark members as static
{
// This is currently handled using shader specialization, as Vulkan does not support alpha test.
// In the future, we may want to use this to write the reference value into the support buffer,
@ -900,12 +902,16 @@ namespace Ryujinx.Graphics.Vulkan
// TODO: Default levels (likely needs emulation on shaders?)
}
#pragma warning disable CA1822 // Mark members as static
public void SetPointParameters(float size, bool isProgramPointSize, bool enablePointSprite, Origin origin)
#pragma warning restore CA1822 // Mark members as static
{
// TODO.
}
#pragma warning disable CA1822 // Mark members as static
public void SetPolygonMode(PolygonMode frontMode, PolygonMode backMode)
#pragma warning restore CA1822 // Mark members as static
{
// TODO.
}
@ -1153,7 +1159,9 @@ namespace Ryujinx.Graphics.Vulkan
_descriptorSetUpdater.SetUniformBuffers(CommandBuffer, buffers);
}
#pragma warning restore CA1822 // Mark members as static
public void SetUserClipDistance(int index, bool enableClip)
#pragma warning restore CA1822 // Mark members as static
{
// TODO.
}