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/DeviceStateWithShadow.cs | |
| 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/DeviceStateWithShadow.cs')
| -rw-r--r-- | src/Ryujinx.Graphics.Gpu/Engine/DeviceStateWithShadow.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Engine/DeviceStateWithShadow.cs b/src/Ryujinx.Graphics.Gpu/Engine/DeviceStateWithShadow.cs index 74a9aa04..a2e5b116 100644 --- a/src/Ryujinx.Graphics.Gpu/Engine/DeviceStateWithShadow.cs +++ b/src/Ryujinx.Graphics.Gpu/Engine/DeviceStateWithShadow.cs @@ -33,6 +33,11 @@ namespace Ryujinx.Graphics.Gpu.Engine public ref TState State => ref _state.State; /// <summary> + /// Current shadow state. + /// </summary> + public ref TState ShadowState => ref _shadowState.State; + + /// <summary> /// Creates a new instance of the device state, with shadow state. /// </summary> /// <param name="callbacks">Optional that will be called if a register specified by name is read or written</param> |
