Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Pica/VertexShader: Clarify a comment.

Tony Wasserkaad5db467d7e9
diff --git a/src/video_core/vertex_shader.cpp b/src/video_core/vertex_shader.cpp
index af9332975d..5ca30ba530 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);
}