limare: texture: fixes to the perf debug code