aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/macro/macro_jit_x64.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-06-16 23:44:48 -0400
committerGitHub <noreply@github.com>2020-06-16 23:44:48 -0400
commitb660ef6c8a524eaacfbf607cc4cae8eeddf88131 (patch)
tree82266bbfd000c1a29e2888f3be2503a5677292e4 /src/video_core/macro/macro_jit_x64.h
parent0f57bbfa3f8e37391e7a10d177d8966199c974e9 (diff)
parentcf0aad7d6a22024362c7adf04b605108141453f6 (diff)
Merge pull request #4089 from MerryMage/macrojit-cleanup-1
macro_jit_x64: Cleanup
Diffstat (limited to 'src/video_core/macro/macro_jit_x64.h')
-rw-r--r--src/video_core/macro/macro_jit_x64.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/video_core/macro/macro_jit_x64.h b/src/video_core/macro/macro_jit_x64.h
index 71f738b9a..51ec090b8 100644
--- a/src/video_core/macro/macro_jit_x64.h
+++ b/src/video_core/macro/macro_jit_x64.h
@@ -55,8 +55,6 @@ private:
Xbyak::Reg32 Compile_FetchParameter();
Xbyak::Reg32 Compile_GetRegister(u32 index, Xbyak::Reg32 dst);
- Xbyak::Reg64 Compile_GetRegister(u32 index, Xbyak::Reg64 dst);
- void Compile_WriteCarry(Xbyak::Reg64 dst);
void Compile_ProcessResult(Macro::ResultOperation operation, u32 reg);
void Compile_Send(Xbyak::Reg32 value);
@@ -67,11 +65,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{};