summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader_jit_x64_compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/shader/shader_jit_x64_compiler.h')
-rw-r--r--src/video_core/shader/shader_jit_x64_compiler.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/shader/shader_jit_x64_compiler.h b/src/video_core/shader/shader_jit_x64_compiler.h
index f37548306..29e9875ea 100644
--- a/src/video_core/shader/shader_jit_x64_compiler.h
+++ b/src/video_core/shader/shader_jit_x64_compiler.h
@@ -38,7 +38,8 @@ public:
program(&setup, &state, instruction_labels[offset].getAddress());
}
- void Compile();
+ void Compile(const std::array<u32, 1024>* program_code,
+ const std::array<u32, 1024>* swizzle_data);
void Compile_ADD(Instruction instr);
void Compile_DP3(Instruction instr);
@@ -103,6 +104,9 @@ private:
*/
void FindReturnOffsets();
+ const std::array<u32, 1024>* program_code = nullptr;
+ const std::array<u32, 1024>* swizzle_data = nullptr;
+
/// Mapping of Pica VS instructions to pointers in the emitted code
std::array<Xbyak::Label, 1024> instruction_labels;