Removed uneeded code

This commit is contained in:
2026-05-08 17:33:57 +10:00
parent f85abef237
commit cc23e73d51
6 changed files with 0 additions and 38 deletions

View File

@@ -1300,20 +1300,6 @@ bool RuntimeHost::TryAdvanceFrame()
return true;
}
bool RuntimeHost::BuildLayerFragmentShaderSource(const std::string& layerId, std::string& fragmentShaderSource, std::string& error)
{
std::vector<ShaderPassBuildSource> passSources;
if (!BuildLayerPassFragmentShaderSources(layerId, passSources, error))
return false;
if (passSources.empty())
{
error = "Shader layer produced no compiled passes: " + layerId;
return false;
}
fragmentShaderSource = passSources.front().fragmentShaderSource;
return true;
}
bool RuntimeHost::BuildLayerPassFragmentShaderSources(const std::string& layerId, std::vector<ShaderPassBuildSource>& passSources, std::string& error)
{
try