Coherent shader output for multiple targets
Abstract
In a multiple render target mode, a pixel shader computes color values for pixels and stores the computed color values in a register file. The register file acts as a buffer for the computed color values. Conventionally writing pixels in the order they are received (pixel-major order) can result in large strides across memory in the frame buffer. At least a minimum amount of work should be done within a DRAM page, for example, to cover the overhead required in opening the DRAM page. Therefore, color values are written from the register file to two or more targets in a frame buffer in a target-major order within a segment. Writing in a target-major order (sequential with respect to targets but non-sequential with respect to quads received and processed) yields coherent writes to frame buffer memory and improves memory efficiency.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 21.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of writing pixels to a frame buffer comprising: computing a first color for a first pixel using a pixel shader; computing a second color for a second pixel using the pixel shader; buffering the first color and the second color in storage coupled to the pixel shader; if the first color is rendered for more than one render target, or the second color is rendered for more than one target, then writing the first color and the second color to the frame buffer in a target-major order, otherwise writing the first color and the second color to the frame buffer in a pixel-major order.
- Claim 2Depends on #1
The method of claim 1 wherein if the first color is rendered for more than one render target, or the second color is rendered for more than one target, then writing the first color comprises writing to a first substantially contiguous region in the frame buffer, and writin
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 21 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (1)
- T. Gleerup, Gleerup, T.; Holten-Lund, H.; Madsen, J.; Pedersen, S., "Memory architecture for efficient utilization of SDRAM: a case study of the computation/memory access trade-off," Hardware/Software Codesign, 2000. Codes 2000. Proceedings of the Eighth International Workshop on , vol., no., pp. 51