It would be desirable to provide a technique which during a debugging process provided information about the portions of fragment shader code that were used to generate the colour values for every pixel in a number of frames, since that would assist in the identification of sections of code that cause the bug, for example a visual glitch, thereby decreasing the time required to identify and fix th