]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/compiler.cpp
Split FeatureConverter into two parts
[libs/gl.git] / source / glsl / compiler.cpp
index b3ffba14f055c2978ede87331754920ebf87cfed..9ddafcff403c9369b72a76828c366e59077ed3f8 100644 (file)
@@ -396,7 +396,8 @@ void Compiler::finalize(Stage &stage, Mode mode)
 {
        if(mode==PROGRAM)
        {
-               FeatureConverter().apply(stage, features);
+               StructuralFeatureConverter().apply(stage, features);
+               QualifierConverter().apply(stage, features);
                resolve(stage, RESOLVE_VARIABLES|RESOLVE_FUNCTIONS);
                PrecisionConverter().apply(stage);
        }