emit_glsl_context_get_set: Remove unused function
This commit is contained in:
parent
59576b82a8
commit
fc29de7d5b
|
@ -29,10 +29,6 @@ std::string InputVertexIndex(EmitContext& ctx, std::string_view vertex) {
|
||||||
return IsInputArray(ctx.stage) ? fmt::format("[{}]", 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) {
|
std::string OutputVertexIndex(EmitContext& ctx, std::string_view vertex) {
|
||||||
switch (ctx.stage) {
|
switch (ctx.stage) {
|
||||||
case Stage::Geometry:
|
case Stage::Geometry:
|
||||||
|
|
Loading…
Reference in New Issue