mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
The bones of what will become a Metal backend.
This isn't anywhere close to usable (not even a blank screen will work), let alone complete. It's about 20% done.
This commit is contained in:
@@ -133,10 +133,10 @@ bool Shader::validate(ShaderStage *vertex, ShaderStage *pixel, std::string &err)
|
||||
glslang::TProgram program;
|
||||
|
||||
if (vertex != nullptr)
|
||||
program.addShader(vertex->getGLSLangShader());
|
||||
program.addShader(vertex->getGLSLangValidationShader());
|
||||
|
||||
if (pixel != nullptr)
|
||||
program.addShader(pixel->getGLSLangShader());
|
||||
program.addShader(pixel->getGLSLangValidationShader());
|
||||
|
||||
if (!program.link(EShMsgDefault))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user