Some initial work on glsl trace code insertion