mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-09 00:12:45 +01:00
emit_glsl_context_get_set: Remove unused function
This commit is contained in:
parent
59576b82a8
commit
fc29de7d5b
1 changed files with 0 additions and 4 deletions
|
@ -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 a new issue