diff options
author | Tony Wasserka <NeoBrainX@gmail.com> | 2014-12-13 21:23:41 +0100 |
---|---|---|
committer | Tony Wasserka <NeoBrainX@gmail.com> | 2014-12-20 18:06:55 +0100 |
commit | 22afb9d8309f56494d95f6132561a413b8e7895c (patch) | |
tree | c30dea8bc794454f70a6c0a8bfe704fdd7e8c2aa /src/video_core | |
parent | Pica/VertexShader: Implement MAX instructions. (diff) | |
download | yuzu-22afb9d8309f56494d95f6132561a413b8e7895c.tar yuzu-22afb9d8309f56494d95f6132561a413b8e7895c.tar.gz yuzu-22afb9d8309f56494d95f6132561a413b8e7895c.tar.bz2 yuzu-22afb9d8309f56494d95f6132561a413b8e7895c.tar.lz yuzu-22afb9d8309f56494d95f6132561a413b8e7895c.tar.xz yuzu-22afb9d8309f56494d95f6132561a413b8e7895c.tar.zst yuzu-22afb9d8309f56494d95f6132561a413b8e7895c.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/vertex_shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/vertex_shader.cpp b/src/video_core/vertex_shader.cpp index 742e5a9f2..dd406f9ca 100644 --- a/src/video_core/vertex_shader.cpp +++ b/src/video_core/vertex_shader.cpp @@ -172,7 +172,7 @@ static void ProcessShaderCode(VertexShaderState& state) { state.debug.max_opdesc_id = std::max<u32>(state.debug.max_opdesc_id, 1+instr.common.operand_desc_id); - switch (instr.opcode) { + switch (instr.opcode.EffectiveOpCode()) { case Instruction::OpCode::ADD: { for (int i = 0; i < 4; ++i) { |