| CPC G06F 11/3676 (2013.01) | 19 Claims |

|
1. A method, comprising:
adding a flag for each line of shader code to be executed by a graphics processing unit (GPU);
creating at least one graphic object to be displayed on a display device for each line of shader code to be executed by the GPU;
receiving one or more hit files that include a status of one or more attributes of displayed graphic objects on the display device after execution of a requirements-based test; and
generating a structural code coverage report for the shader code based on the one or more hit files and a mapping between the shader code and the displayed graphic objects;
wherein adding a flag for each line of shader code to be executed by the GPU includes adding a flag for each statement and decision branch of the shader code to be executed by the GPU.
|