diff options
author | bunnei <bunneidev@gmail.com> | 2016-03-12 18:15:49 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-03-12 18:15:49 +0100 |
commit | 6efb710b2801ff7e2baea0738174b0b8c9a2d9da (patch) | |
tree | bbea1de82ade8b69c31b824547a67018886fa561 /src/video_core/shader/shader_jit_x64.h | |
parent | shader_jit_x64: Make assert outputs more useful & cleanup formatting. (diff) | |
download | yuzu-6efb710b2801ff7e2baea0738174b0b8c9a2d9da.tar yuzu-6efb710b2801ff7e2baea0738174b0b8c9a2d9da.tar.gz yuzu-6efb710b2801ff7e2baea0738174b0b8c9a2d9da.tar.bz2 yuzu-6efb710b2801ff7e2baea0738174b0b8c9a2d9da.tar.lz yuzu-6efb710b2801ff7e2baea0738174b0b8c9a2d9da.tar.xz yuzu-6efb710b2801ff7e2baea0738174b0b8c9a2d9da.tar.zst yuzu-6efb710b2801ff7e2baea0738174b0b8c9a2d9da.zip |
Diffstat (limited to 'src/video_core/shader/shader_jit_x64.h')
-rw-r--r-- | src/video_core/shader/shader_jit_x64.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/shader/shader_jit_x64.h b/src/video_core/shader/shader_jit_x64.h index 5ad2d9606..5357c964b 100644 --- a/src/video_core/shader/shader_jit_x64.h +++ b/src/video_core/shader/shader_jit_x64.h @@ -19,6 +19,11 @@ namespace Pica { namespace Shader { +/// Memory needed to be available to compile the next shader (otherwise, clear the cache) +constexpr size_t jit_shader_size = 1024 * 512; +/// Memory allocated for the JIT code space cache +constexpr size_t jit_cache_size = 1024 * 1024 * 8; + using CompiledShader = void(void* registers); /** |