]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/compiler.cpp
Implement tessellation shaders in the shader compiler
[libs/gl.git] / source / glsl / compiler.cpp
index 05bf421cd422428dbf1b09b5eef3d0daf737c3f9..97c234f79285f3c253e94d76dd36b937d13e55b4 100644 (file)
@@ -318,6 +318,7 @@ void Compiler::generate(Stage &stage)
        InterfaceGenerator().apply(stage);
        resolve(stage, RESOLVE_BLOCKS|RESOLVE_TYPES|RESOLVE_VARIABLES);
 
+       LayoutDefaulter().apply(stage);
        ArraySizer().apply(stage);
        resolve(stage, RESOLVE_EXPRESSIONS);
 }