KhronosGroup / SPIR

Other
177 stars 49 forks source link

Declare create_user_event and is_event_valid as overloadable #66

Closed AlexeySotkin closed 7 years ago

AlexeySotkin commented 7 years ago

Builtins must be declared as overloadable, so Clang mangles their names, and LLVM-SPIRV translator can recognize them.