Added pragmas to hide wrong suggestions
Ideally this code would be refactored such that this is not neededmerge-requests/93/head
parent
d081aa8a74
commit
416ddba209
|
|
@ -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.
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue