diff options
| author | riperiperi <rhy3756547@hotmail.com> | 2023-10-06 23:55:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-06 19:55:07 -0300 |
| commit | f460ecc1829c1b34f2198cc41528b1c6de99d976 (patch) | |
| tree | ed18225f62b90b2f74ce8a940d9235e08b2517e3 /src/Ryujinx.Graphics.Gpu/Engine/Types | |
| parent | 086564c3c88d8006670199b3aba5977c07f16261 (diff) | |
GPU: Add HLE macros for popular NVN macros (#5761)
* GPU: Add HLE macros for popular NVN macros
* Remove non-vector equality check
The case where it's not hardware accelerated will do the check integer-wise anyways.
* Whitespace :pensive:
* Address Feedback
Diffstat (limited to 'src/Ryujinx.Graphics.Gpu/Engine/Types')
| -rw-r--r-- | src/Ryujinx.Graphics.Gpu/Engine/Types/Boolean32.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Engine/Types/Boolean32.cs b/src/Ryujinx.Graphics.Gpu/Engine/Types/Boolean32.cs index 911ad53b..7293fab9 100644 --- a/src/Ryujinx.Graphics.Gpu/Engine/Types/Boolean32.cs +++ b/src/Ryujinx.Graphics.Gpu/Engine/Types/Boolean32.cs @@ -5,9 +5,12 @@ /// </summary> readonly struct Boolean32 { -#pragma warning disable CS0649 // Field is never assigned to private readonly uint _value; -#pragma warning restore CS0649 + + public Boolean32(uint value) + { + _value = value; + } public static implicit operator bool(Boolean32 value) { |
