Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

vertex_shader: Fix control reaches end of function warning

Lioncashbd76783d9187
diff --git a/src/video_core/vertex_shader.h b/src/video_core/vertex_shader.h
index 607a8e8031..bfb6fb6e39 100644
--- a/src/video_core/vertex_shader.h
+++ b/src/video_core/vertex_shader.h
@@ -141,7 +141,7 @@ union Instruction {
return BitFieldType::Value();
else if (GetRegisterType() == Temporary)
return BitFieldType::Value() - 0x10;
- else if (GetRegisterType() == FloatUniform)
+ else // if (GetRegisterType() == FloatUniform)
return BitFieldType::Value() - 0x20;
}