mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-08 14:25:47 +00:00
Structural and Memory Safety Improvements, Analyzer Cleanup (ryubing/ryujinx!47)
See merge request ryubing/ryujinx!47
This commit is contained in:
@@ -3664,9 +3664,9 @@ namespace Ryujinx.Graphics.Shader.Decoders
|
||||
|
||||
readonly struct InstLepc
|
||||
{
|
||||
#pragma warning disable IDE0052 // Remove unread private member
|
||||
|
||||
private readonly ulong _opcode;
|
||||
#pragma warning restore IDE0052
|
||||
|
||||
public InstLepc(ulong opcode) => _opcode = opcode;
|
||||
}
|
||||
|
||||
@@ -4181,9 +4181,9 @@ namespace Ryujinx.Graphics.Shader.Decoders
|
||||
|
||||
readonly struct InstRam
|
||||
{
|
||||
#pragma warning disable IDE0052 // Remove unread private member
|
||||
|
||||
private readonly ulong _opcode;
|
||||
#pragma warning restore IDE0052
|
||||
|
||||
public InstRam(ulong opcode) => _opcode = opcode;
|
||||
}
|
||||
|
||||
@@ -4252,9 +4252,9 @@ namespace Ryujinx.Graphics.Shader.Decoders
|
||||
|
||||
readonly struct InstRtt
|
||||
{
|
||||
#pragma warning disable IDE0052 // Remove unread private member
|
||||
|
||||
private readonly ulong _opcode;
|
||||
#pragma warning restore IDE0052
|
||||
|
||||
public InstRtt(ulong opcode) => _opcode = opcode;
|
||||
}
|
||||
|
||||
@@ -4270,9 +4270,9 @@ namespace Ryujinx.Graphics.Shader.Decoders
|
||||
|
||||
readonly struct InstSam
|
||||
{
|
||||
#pragma warning disable IDE0052 // Remove unread private member
|
||||
|
||||
private readonly ulong _opcode;
|
||||
#pragma warning restore IDE0052
|
||||
|
||||
public InstSam(ulong opcode) => _opcode = opcode;
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace Ryujinx.Graphics.Shader.Decoders
|
||||
_opCodes = new TableEntry[1 << EncodingBits];
|
||||
|
||||
#region Instructions
|
||||
#pragma warning disable IDE0055 // Disable formatting
|
||||
#pragma warning disable IDE0055 // Disable formatting
|
||||
Add("1110111110100xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", InstName.Al2p, InstEmit.Al2p, InstProps.Rd | InstProps.Ra);
|
||||
Add("1110111111011xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", InstName.Ald, InstEmit.Ald, InstProps.Rd | InstProps.Ra);
|
||||
Add("1110111111110xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", InstName.Ast, InstEmit.Ast, InstProps.Ra | InstProps.Rb2 | InstProps.Rc);
|
||||
|
||||
Reference in New Issue
Block a user