]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/spirv.h
Use extended alignment in SPIR-V struct layout when necessary
[libs/gl.git] / source / glsl / spirv.h
index addf8970315c5fb68e6d05d31c55c9b467ebf6c5..a83478b0fb6d370d621864aa300ed8fcf4c8f1bd 100644 (file)
@@ -124,7 +124,7 @@ private:
        Id get_vector_constant_id(Id, unsigned, Id);
        Id get_standard_type_id(BasicTypeDeclaration::Kind, unsigned, bool = true);
        bool is_scalar_type(Id, BasicTypeDeclaration::Kind) const;
-       Id get_array_type_id(TypeDeclaration &, unsigned);
+       Id get_array_type_id(TypeDeclaration &, Id, bool);
        Id get_pointer_type_id(Id, StorageClass);
        Id get_variable_type_id(const VariableDeclaration &);
        Id get_load_id(VariableDeclaration &);