summaryrefslogtreecommitdiffstats
path: root/src/video_core/macro/macro_jit_x64.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-06-17 05:44:48 +0200
committerGitHub <noreply@github.com>2020-06-17 05:44:48 +0200
commitb660ef6c8a524eaacfbf607cc4cae8eeddf88131 (patch)
tree82266bbfd000c1a29e2888f3be2503a5677292e4 /src/video_core/macro/macro_jit_x64.h
parentMerge pull request #3976 from Neodyblue/qdarkstyle_fix_prop (diff)
parentmacro_jit_x64: Remove NEXT_PARAMETER (diff)
downloadyuzu-b660ef6c8a524eaacfbf607cc4cae8eeddf88131.tar
yuzu-b660ef6c8a524eaacfbf607cc4cae8eeddf88131.tar.gz
yuzu-b660ef6c8a524eaacfbf607cc4cae8eeddf88131.tar.bz2
yuzu-b660ef6c8a524eaacfbf607cc4cae8eeddf88131.tar.lz
yuzu-b660ef6c8a524eaacfbf607cc4cae8eeddf88131.tar.xz
yuzu-b660ef6c8a524eaacfbf607cc4cae8eeddf88131.tar.zst
yuzu-b660ef6c8a524eaacfbf607cc4cae8eeddf88131.zip
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{};