From 2f9eb98f03b99482d3b79c7afb345d8c5014ddf8 Mon Sep 17 00:00:00 2001 From: aroulin Date: Wed, 19 Aug 2015 01:49:45 +0200 Subject: Shader: Save caller-saved registers in JIT before a CALL --- src/video_core/shader/shader_jit_x64.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/video_core/shader/shader_jit_x64.h') diff --git a/src/video_core/shader/shader_jit_x64.h b/src/video_core/shader/shader_jit_x64.h index 104f9f466..a6ae7fbf1 100644 --- a/src/video_core/shader/shader_jit_x64.h +++ b/src/video_core/shader/shader_jit_x64.h @@ -69,6 +69,9 @@ private: void Compile_EvaluateCondition(Instruction instr); void Compile_UniformCondition(Instruction instr); + void Compile_PushCallerSavedXMM(); + void Compile_PopCallerSavedXMM(); + /// Pointer to the variable that stores the current Pica code offset. Used to handle nested code blocks. unsigned* offset_ptr = nullptr; -- cgit v1.2.3