Encode functions with internal linkage correctly

This commit is contained in:
baldurk
2023-02-16 13:04:04 +00:00
parent 35f2ad0658
commit 62f4b3cd25
@@ -750,7 +750,7 @@ bytebuf ProgramEditor::EncodeProgram()
// external/declaration
f.external ? 1U : 0U,
// linkage
0U,
f.internalLinkage ? 3U : 0U,
// attributes
uint64_t(f.attrs ? 1U + getAttribID(f.attrs) : 0U),
// alignment