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
commite8a577eb031d4e3390f63dff3f39717d62472fa0 (patch)
tree7f10b237188546c98cc6ca54518cb63261216260 /src/video_core/shader/shader_interpreter.cpp
parente69c563ca24a94d8ffbd778985c63872f3786c0a (diff)
parentf3efa5e031268372b5d17f2b69128709ceefb111 (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 f4d1c46c53..aa1cec81ff 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;
}