This commit is contained in:
2024-12-21 20:33:25 -06:00
parent b5958189cf
commit c87f13b063
5 changed files with 20 additions and 31 deletions

View File

@ -78,7 +78,6 @@ void SimpleTexturedShader::getStages(
return output;
}
)";
Slang::ComPtr<IGlobalSession> globalSession;
createGlobalSession(globalSession.writeRef());
@ -159,9 +158,6 @@ void SimpleTexturedShader::getStages(
}
std::string vertexString = (const char*)vertexBlob->getBufferPointer();
std::ofstream out("/home/yourwishes/htdocs/Dawn/vertex.glsl");
out << vertexString;
out.close();
entryPointIndex = 1;
Slang::ComPtr<IBlob> fragmentBlob;
@ -177,9 +173,6 @@ void SimpleTexturedShader::getStages(
}
std::string fragmentString = (const char*)fragmentBlob->getBufferPointer();
out.open("/home/yourwishes/htdocs/Dawn/fragment.glsl");
out << fragmentString;
out.close();
vertex = std::make_shared<ShaderStage>(
ShaderStageType::VERTEX, vertexString