aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/macro/macro_jit_x64.h
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2020-06-15 20:55:02 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2020-06-15 20:55:02 +0100
commit35db6e1c68f18f401bcae8bd8e8937648c7c67c6 (patch)
tree6df8312d33c9d1bbe849ef150396e4128fcd9106 /src/video_core/macro/macro_jit_x64.h
parent389549b80d7cd7054ec622f4038ff599386e1c04 (diff)
macro_jit_x64: Remove JITState::parameters
This can be passed in as an argument instead.
Diffstat (limited to 'src/video_core/macro/macro_jit_x64.h')
-rw-r--r--src/video_core/macro/macro_jit_x64.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/macro/macro_jit_x64.h b/src/video_core/macro/macro_jit_x64.h
index 377368086..9167b2a93 100644
--- a/src/video_core/macro/macro_jit_x64.h
+++ b/src/video_core/macro/macro_jit_x64.h
@@ -66,11 +66,10 @@ private:
struct JITState {
Engines::Maxwell3D* maxwell3d{};
std::array<u32, Macro::NUM_MACRO_REGISTERS> registers{};
- const u32* parameters{};
u32 carry_flag{};
};
static_assert(offsetof(JITState, maxwell3d) == 0, "Maxwell3D is not at 0x0");
- using ProgramType = void (*)(JITState*);
+ using ProgramType = void (*)(JITState*, const u32*);
struct OptimizerState {
bool can_skip_carry{};