summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Tony Wasserka2014-12-19 19:49:17 +0100
committerGravatar Tony Wasserka2014-12-20 18:06:56 +0100
commitad5db467d7e9a598e7f8e998066bc5ffe99f1436 (patch)
tree0a05c57c9edcb8713830a15ef6c2ba7255af77e0 /src
parentPica/DebugUtils: Further cleanups to LookupTexture. (diff)
downloadyuzu-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.cpp4
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 }