diff options
| author | 2021-05-31 23:33:30 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:37 -0400 | |
| commit | fc29de7d5b75e93996a33546119c415cc9966327 (patch) | |
| tree | 33029a5b8f14bcb47ca67d8dbf2670d75e78ed13 /src/shader_recompiler/backend/glsl | |
| parent | glsl: Fix precise variable declaration (diff) | |
| download | yuzu-fc29de7d5b75e93996a33546119c415cc9966327.tar.gz yuzu-fc29de7d5b75e93996a33546119c415cc9966327.tar.xz yuzu-fc29de7d5b75e93996a33546119c415cc9966327.zip | |
emit_glsl_context_get_set: Remove unused function
Diffstat (limited to 'src/shader_recompiler/backend/glsl')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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 5c56477bf..0cf31329d 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) { | |||
| 29 | return IsInputArray(ctx.stage) ? fmt::format("[{}]", vertex) : ""; | 29 | return IsInputArray(ctx.stage) ? fmt::format("[{}]", vertex) : ""; |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | bool IsOutputArray(Stage stage) { | ||
| 33 | return stage == Stage::Geometry || stage == Stage::TessellationControl; | ||
| 34 | } | ||
| 35 | |||
| 36 | std::string OutputVertexIndex(EmitContext& ctx, std::string_view vertex) { | 32 | std::string OutputVertexIndex(EmitContext& ctx, std::string_view vertex) { |
| 37 | switch (ctx.stage) { | 33 | switch (ctx.stage) { |
| 38 | case Stage::Geometry: | 34 | case Stage::Geometry: |