llvmpipe/lavapipe: add support for shader clocks
While fixing the badness in the printf hooks, I realised this was the same problem, so I fixed up the shader clock support for llvmpipe and lavapipe on top.
Only the top two patches for this MR.
Edited by Dave Airlie