summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader_interpreter.cpp
diff options
context:
space:
mode:
authorWeiyi Wang <wwylele@gmail.com>2017-05-12 17:02:45 +0200
committerGitHub <noreply@github.com>2017-05-12 17:02:45 +0200
commit9bd3986540a990abc82ef2b03fc4d621d78c2e03 (patch)
tree7f10b237188546c98cc6ca54518cb63261216260 /src/video_core/shader/shader_interpreter.cpp
parentMerge pull request #2669 from jroweboy/async_file_watcher (diff)
parentPica: Write GS registers (diff)
downloadyuzu-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.cpp2
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;
}