diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/vertex_shader.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/vertex_shader.cpp b/src/video_core/vertex_shader.cpp index af9332975..5ca30ba53 100644 --- a/src/video_core/vertex_shader.cpp +++ b/src/video_core/vertex_shader.cpp | |||
| @@ -140,7 +140,9 @@ static void ProcessShaderCode(VertexShaderState& state) { | |||
| 140 | { | 140 | { |
| 141 | bool is_inverted = 0 != (instr.opcode.GetInfo().subtype & Instruction::OpCodeInfo::SrcInversed); | 141 | bool is_inverted = 0 != (instr.opcode.GetInfo().subtype & Instruction::OpCodeInfo::SrcInversed); |
| 142 | if (is_inverted) { | 142 | if (is_inverted) { |
| 143 | // We don't really support this properly and/or reliably | 143 | // TODO: We don't really support this properly: For instance, the address register |
| 144 | // offset needs to be applied to SRC2 instead, etc. | ||
| 145 | // For now, we just abort in this situation. | ||
| 144 | LOG_ERROR(HW_GPU, "Bad condition..."); | 146 | LOG_ERROR(HW_GPU, "Bad condition..."); |
| 145 | exit(0); | 147 | exit(0); |
| 146 | } | 148 | } |