Apparatus and method for tracing activities of a shader program executed on shader circuitry of a data processing apparatus
Abstract
A data processing apparatus and method are provided for tracing activities of a shader program executed on shader circuitry of a data processing apparatus. The data processing apparatus comprises shader circuitry which is responsive to input data for a pixel to execute a shader program to generate a color value for the pixel. The shader program has multiple execution paths via which the color value may be generated, and which execution path is taken is dependent on the input data. An image buffer having a plurality of storage locations is provided, with each storage location being used to store the color value generated by the shader circuitry for an associated pixel. In a trace mode of operation, execution of the shader program by the shader circuitry causes a trace vector to be generated containing a plurality of items of execution path information indicative of the execution path taken, the trace vector comprising a plurality of fields, each field being used to store one item of execution path information. The trace vector as output is constrained to be of the same size as the color value, and in the trace mode of operation the trace vector is stored in one of the storage locati
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A data processing apparatus comprising: shader circuitry, responsive to input data for a pixel, to execute a shader program to generate a colour value for said pixel, the shader program having multiple execution paths, each execution path identifying a sequence of instructions that, if executed by the shader program, will produce said colour value, and which of said multiple execution paths is taken by said shader circuitry through the shader program is dependent on said input data; an image buffer having a plurality of storage locations, each storage location for storing the colour value gene
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (3)
- M. Hilgart, "Step-Through Debugging of GLSL Shaders", School of Computer Science, DePaul Univ., pp. 1-15 (No Date).
- Search Report for UK 0822853.8 dated Sep. 16, 2009.
- Strengert et al., "A Hardware-Aware Debugger for the OpenGL Shading Language", Graphics Hardware, Aug. 2007, 9 pages.