You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now SPIR-V Backend generates linkage type declaration via OpDecorate only for external and linkonce_odr linkage types. This makes it impossible to use, for example, extern_weak functions. The following example would crash:
We should fix the behaviour, probably in a way that corresponds to Khronos SPIRV Translator that sets non-kernel function linkage type via OpDecorate for all linkage types except for static functions.