Patent ID: 8146061

Claim:
A system for debugging and verifying a graphics hardware design, comprising: a script engine configured to interpret a script representing graphics functions into commands; a script engine interface configured to translate the commands to a format that can be processed by a device driver; a graphics processing unit model corresponding to a hardware design of a graphics processing unit, the graphics processing unit model configured to execute the commands from the device driver and generate at least one graphics frame and debugging information; a debugger configured to allow for debugging capabilities of the graphics processing model; a reference runtime comprising an application programming interface for graphics operations; a reference software driver coupled to the reference runtime and configured to process the commands processed by the reference runtime within the graphics processing unit model, wherein the graphics processing unit model is configured to generate at least one reference driver graphics frame corresponding to graphics functions within the script; a reference rasterizer, wherein the system is configured to execute the commands within the reference runtime and the reference rasterizer, the reference rasterizer configured to generate at least one reference graphics frame; and wherein the script engine allows a user to compare at least two of: the at least one graphics frame, the at least one reference graphics frame, and the at least one reference driver graphics frame.