Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

emit_glsl_context_get_set: Remove unused function

lat9nq503159f29bab
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp
index 5c56477bfb..0cf31329d5 100644
--- a/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp
+++ b/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp
@@ -29,10 +29,6 @@ std::string InputVertexIndex(EmitContext& ctx, std::string_view vertex) {
return IsInputArray(ctx.stage) ? fmt::format("[{}]", vertex) : "";
}
-bool IsOutputArray(Stage stage) {
- return stage == Stage::Geometry || stage == Stage::TessellationControl;
-}
-
std::string OutputVertexIndex(EmitContext& ctx, std::string_view vertex) {
switch (ctx.stage) {
case Stage::Geometry: