KhronosGroup / SPIRV-LLVM-Translator

A tool and a library for bi-directional translation between SPIR-V and LLVM IR
Other
473 stars 211 forks source link

Avoid duplication of builtin global variables #2480

Closed asudarsa closed 5 months ago

asudarsa commented 5 months ago

Add logic to emit only one global variable when both SPIRV builtin and OCL builtin variants are present in the source code.

Thanks