OpenCL: printf in nir
This small series adds a printf intrinsic which takes a format string deref as the first arg, and a deref to a struct full of the args as the second.
It also adds a lowering pass which converts that intrinsic to a series of SSBO writes -- an atomic add to a size counter, followed by dumping args into the buffer.