shader
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user