From f460ecc1829c1b34f2198cc41528b1c6de99d976 Mon Sep 17 00:00:00 2001 From: riperiperi Date: Fri, 6 Oct 2023 23:55:07 +0100 Subject: 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 --- src/Ryujinx.Graphics.Gpu/Engine/DeviceStateWithShadow.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Ryujinx.Graphics.Gpu/Engine/DeviceStateWithShadow.cs') 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 @@ -32,6 +32,11 @@ namespace Ryujinx.Graphics.Gpu.Engine /// public ref TState State => ref _state.State; + /// + /// Current shadow state. + /// + public ref TState ShadowState => ref _shadowState.State; + /// /// Creates a new instance of the device state, with shadow state. /// -- cgit v1.2.3