summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-12-19 19:49:17 +0100
committerTony Wasserka <NeoBrainX@gmail.com>2014-12-20 18:06:56 +0100
commitad5db467d7e9a598e7f8e998066bc5ffe99f1436 (patch)
tree0a05c57c9edcb8713830a15ef6c2ba7255af77e0 /src/video_core
parentPica/DebugUtils: Further cleanups to LookupTexture. (diff)
downloadyuzu-ad5db467d7e9a598e7f8e998066bc5ffe99f1436.tar
yuzu-ad5db467d7e9a598e7f8e998066bc5ffe99f1436.tar.gz
yuzu-ad5db467d7e9a598e7f8e998066bc5ffe99f1436.tar.bz2
yuzu-ad5db467d7e9a598e7f8e998066bc5ffe99f1436.tar.lz
yuzu-ad5db467d7e9a598e7f8e998066bc5ffe99f1436.tar.xz
yuzu-ad5db467d7e9a598e7f8e998066bc5ffe99f1436.tar.zst
yuzu-ad5db467d7e9a598e7f8e998066bc5ffe99f1436.zip
Diffstat (limited to 'src/video_core')
-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) {
{
bool is_inverted = 0 != (instr.opcode.GetInfo().subtype & Instruction::OpCodeInfo::SrcInversed);
if (is_inverted) {
- // We don't really support this properly and/or reliably
+ // TODO: We don't really support this properly: For instance, the address register
+ // offset needs to be applied to SRC2 instead, etc.
+ // For now, we just abort in this situation.
LOG_ERROR(HW_GPU, "Bad condition...");
exit(0);
}