Closed LU-JOHN closed 4 months ago
Calls to printf can generated by a user call to __builtin_printf. Represent this in SPIRV with a printf extended insn instead of a SPIRV call to "printf". A SPIRV call to a variadic function will fail in spirv-val.
spirv-val testing in this PR requires changes in https://github.com/KhronosGroup/SPIRV-Tools/pull/5677
Calls to printf can generated by a user call to __builtin_printf. Represent this in SPIRV with a printf extended insn instead of a SPIRV call to "printf". A SPIRV call to a variadic function will fail in spirv-val.