diff options
| author | 2014-12-19 19:49:17 +0100 | |
|---|---|---|
| committer | 2014-12-20 18:06:56 +0100 | |
| commit | ad5db467d7e9a598e7f8e998066bc5ffe99f1436 (patch) | |
| tree | 0a05c57c9edcb8713830a15ef6c2ba7255af77e0 /src | |
| parent | Pica/DebugUtils: Further cleanups to LookupTexture. (diff) | |
| download | yuzu-ad5db467d7e9a598e7f8e998066bc5ffe99f1436.tar.gz yuzu-ad5db467d7e9a598e7f8e998066bc5ffe99f1436.tar.xz yuzu-ad5db467d7e9a598e7f8e998066bc5ffe99f1436.zip | |
Pica/VertexShader: Clarify a comment.
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 | } |