diff options
author | Jannik Vogel <email@jannikvogel.de> | 2017-05-08 23:37:38 +0200 |
---|---|---|
committer | Jannik Vogel <email@jannikvogel.de> | 2017-05-11 15:01:27 +0200 |
commit | 925724c9900e357e8621a7a592be189cb4141ed8 (patch) | |
tree | 3573cc8486e0768bbb5fda1bf5f933210c9a26e3 /src/video_core/shader/shader_jit_x64.cpp | |
parent | Merge pull request #2682 from nicoboss/filter (diff) | |
download | yuzu-925724c9900e357e8621a7a592be189cb4141ed8.tar yuzu-925724c9900e357e8621a7a592be189cb4141ed8.tar.gz yuzu-925724c9900e357e8621a7a592be189cb4141ed8.tar.bz2 yuzu-925724c9900e357e8621a7a592be189cb4141ed8.tar.lz yuzu-925724c9900e357e8621a7a592be189cb4141ed8.tar.xz yuzu-925724c9900e357e8621a7a592be189cb4141ed8.tar.zst yuzu-925724c9900e357e8621a7a592be189cb4141ed8.zip |
Diffstat (limited to 'src/video_core/shader/shader_jit_x64.cpp')
-rw-r--r-- | src/video_core/shader/shader_jit_x64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cpp index 0ee0dd9ef..73c21871c 100644 --- a/src/video_core/shader/shader_jit_x64.cpp +++ b/src/video_core/shader/shader_jit_x64.cpp @@ -15,7 +15,7 @@ JitX64Engine::JitX64Engine() = default; JitX64Engine::~JitX64Engine() = default; void JitX64Engine::SetupBatch(ShaderSetup& setup, unsigned int entry_point) { - ASSERT(entry_point < 1024); + ASSERT(entry_point < MAX_PROGRAM_CODE_LENGTH); setup.engine_data.entry_point = entry_point; u64 code_hash = Common::ComputeHash64(&setup.program_code, sizeof(setup.program_code)); |