Method and apparatus for loop and branch instructions in a programmable graphics pipeline
Abstract
A method and apparatus for executing loop and branch program instructions in a programmable graphics shader. The programmable graphics shader converts a sequence of instructions comprising a portion of a shader program and selects a first set of fragments to be processed. Subsequent sequences of instructions are converted until all of the instructions comprising the shader program have been executed on the first set of fragments. Each remaining set of fragments is processed by the shader program until all of the fragments are processed in the same manner. Furthermore, the instructions can contain one or more loop or branch program instructions that are conditionally executed. Additionally, when instructions within a loop as defined by a loop instruction are being executed a current loop count is pipelined through the programmable graphics shader and used as an index to access graphics memory.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 40.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computing system comprising: a host processor; a host memory, the host memory storing programs for the host processor; a system interface configured to interface with the host processor; and a programmable shader comprising: a) an instruction processing unit configured to convert shader program instructions and output a converted sequence of the program instructions based upon available resources in the programmable shader; b) a fragment selector configured to select fragments, under control of the instruction processing unit, from a total number of fragments; c) a program counter unit confi
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 40 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (4)
- E. Chan, R. Ng, P. Sen, K. Proudfoot, and P. Hanranhan. Efficient Partitioning of Fragment Shaders for Multipass Rendering on Programmable Graphics Hardware. In Graphics Hardware. 2002, pp. 1-11.*
- Olano, Marc and Anselmo Lastra, "A Shading Language on Graphics Hardware: The PixelFlow Shading System", Proceedings of SIGGRAPH 98 (Orlando, Florida, Jul. 19-24, 1998). In Computer Graphics, Annual Conference Series, ACM SIGGRAPH, 1998.
- Peercy, Mark S., Marc Alano, John Airey, and P. Jeffery Ungar, "Interactive Multi-Pass Programmable Shading", Proceedings of SIGGRAPH 2000 (New Orleans, Louisiana, Jul. 23-28, 2000). In Computer Graphics, Annual Conference Series, ACM SIGGRAPH, 2000.
- W. Mark and K. Proudfoot. The F-Buffer: A Rasterization-Order FIFO Buffer for Multi-Pass Rendering. In SIGGRAPH/Eurographics Graphics Hardware Workshop 2001, pp. 1-7.*