diff options
author | bunnei <bunneidev@gmail.com> | 2016-04-13 05:24:34 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-04-14 05:04:52 +0200 |
commit | 60aa72e1177c436351c91be291ef869816df79e0 (patch) | |
tree | 5bdec04703a68c30fe523ebbe75feb54a6b7c5cd /src/video_core/shader/shader_jit_x64.h | |
parent | shader_jit_x64: Use CALL/RET instead of JMP for subroutines. (diff) | |
download | yuzu-60aa72e1177c436351c91be291ef869816df79e0.tar yuzu-60aa72e1177c436351c91be291ef869816df79e0.tar.gz yuzu-60aa72e1177c436351c91be291ef869816df79e0.tar.bz2 yuzu-60aa72e1177c436351c91be291ef869816df79e0.tar.lz yuzu-60aa72e1177c436351c91be291ef869816df79e0.tar.xz yuzu-60aa72e1177c436351c91be291ef869816df79e0.tar.zst yuzu-60aa72e1177c436351c91be291ef869816df79e0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_jit_x64.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_jit_x64.h b/src/video_core/shader/shader_jit_x64.h index 920a269e2..aa5060584 100644 --- a/src/video_core/shader/shader_jit_x64.h +++ b/src/video_core/shader/shader_jit_x64.h @@ -4,8 +4,8 @@ #pragma once -#include <set> #include <utility> +#include <vector> #include <nihstro/shader_bytecode.h> @@ -106,7 +106,7 @@ private: std::array<const u8*, 1024> code_ptr; /// Offsets in code where a return needs to be inserted - std::set<unsigned> return_offsets; + std::vector<unsigned> return_offsets; unsigned program_counter = 0; ///< Offset of the next instruction to decode bool looping = false; ///< True if compiling a loop, used to check for nested loops |