1
0
Fork 0
forked from suyu/suyu

emit_glsl_context_get_set: Remove unused function

This commit is contained in:
lat9nq 2021-05-31 23:33:30 -04:00 committed by ameerj
parent 59576b82a8
commit fc29de7d5b

View file

@ -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: