diff options
author | Weiyi Wang <wwylele@gmail.com> | 2017-05-12 17:02:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-12 17:02:45 +0200 |
commit | 9bd3986540a990abc82ef2b03fc4d621d78c2e03 (patch) | |
tree | 7f10b237188546c98cc6ca54518cb63261216260 /src/video_core/shader/shader_interpreter.cpp | |
parent | Merge pull request #2669 from jroweboy/async_file_watcher (diff) | |
parent | Pica: Write GS registers (diff) | |
download | yuzu-9bd3986540a990abc82ef2b03fc4d621d78c2e03.tar yuzu-9bd3986540a990abc82ef2b03fc4d621d78c2e03.tar.gz yuzu-9bd3986540a990abc82ef2b03fc4d621d78c2e03.tar.bz2 yuzu-9bd3986540a990abc82ef2b03fc4d621d78c2e03.tar.lz yuzu-9bd3986540a990abc82ef2b03fc4d621d78c2e03.tar.xz yuzu-9bd3986540a990abc82ef2b03fc4d621d78c2e03.tar.zst yuzu-9bd3986540a990abc82ef2b03fc4d621d78c2e03.zip |
Diffstat (limited to 'src/video_core/shader/shader_interpreter.cpp')
-rw-r--r-- | src/video_core/shader/shader_interpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/shader_interpreter.cpp b/src/video_core/shader/shader_interpreter.cpp index f4d1c46c5..aa1cec81f 100644 --- a/src/video_core/shader/shader_interpreter.cpp +++ b/src/video_core/shader/shader_interpreter.cpp @@ -653,7 +653,7 @@ static void RunInterpreter(const ShaderSetup& setup, UnitState& state, DebugData } void InterpreterEngine::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; } |