aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader/shader_interpreter.cpp
diff options
context:
space:
mode:
authorWeiyi Wang <wwylele@gmail.com>2017-05-12 18:02:45 +0300
committerGitHub <noreply@github.com>2017-05-12 18:02:45 +0300
commit9bd3986540a990abc82ef2b03fc4d621d78c2e03 (patch)
tree7f10b237188546c98cc6ca54518cb63261216260 /src/video_core/shader/shader_interpreter.cpp
parentdb22b88feab5840a1e4ac474f72cd1626006db1c (diff)
parentba722be2ac86a7ef703400fa23b376df2f022190 (diff)
Merge pull request #2695 from JayFoxRox/gs-regs
Prepare Pica registers for Geometry Shaders
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;
}