aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader/shader_jit_x64.h
diff options
context:
space:
mode:
authoraroulin <andy.roulin@epfl.ch>2015-08-19 01:49:45 +0200
committeraroulin <andy.roulin@epfl.ch>2015-08-19 03:40:07 +0200
commit2f9eb98f03b99482d3b79c7afb345d8c5014ddf8 (patch)
tree98f63e0a2ae6d44a85733e12605e1b49d45f1264 /src/video_core/shader/shader_jit_x64.h
parent7d3a6016d64eea0e523fe35bb61070a0268900f7 (diff)
Shader: Save caller-saved registers in JIT before a CALL
Diffstat (limited to 'src/video_core/shader/shader_jit_x64.h')
-rw-r--r--src/video_core/shader/shader_jit_x64.h3
1 files changed, 3 insertions, 0 deletions
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;