]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/resolve.h
Use extended alignment in SPIR-V struct layout when necessary
[libs/gl.git] / source / glsl / resolve.h
index fdbebfe8e3a8e8249407545d5abfef5ca291dda0..92a7c336de71fbbb8a217dd7ece8dd29040c4ea2 100644 (file)
@@ -30,7 +30,7 @@ class TypeResolver: private TraversingVisitor
 private:
        Stage *stage = 0;
        std::map<TypeDeclaration *, TypeDeclaration *> alias_map;
-       std::map<TypeDeclaration *, TypeDeclaration *> array_types;
+       std::map<std::pair<TypeDeclaration *, bool>, TypeDeclaration *> array_types;
        NodeList<Statement>::iterator type_insert_point;
        InterfaceBlock *iface_block = 0;
        bool r_any_resolved = false;