summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader_jit_x64.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-03-12 18:15:49 +0100
committerbunnei <bunneidev@gmail.com>2016-03-12 18:15:49 +0100
commit6efb710b2801ff7e2baea0738174b0b8c9a2d9da (patch)
treebbea1de82ade8b69c31b824547a67018886fa561 /src/video_core/shader/shader_jit_x64.h
parentshader_jit_x64: Make assert outputs more useful & cleanup formatting. (diff)
downloadyuzu-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.h5
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);
/**