Merged shader for primitive amplification
Abstract
A method, computer program product, and system are provided for processing data in a graphics pipeline. An embodiment of the method includes processing one or more vertices of a geometric primitive with a vertex shader function and generating new primitive information for the one or more processed vertices with a geometry shader function. The geometry shader function receives one or more processed vertices from the vertex shader function and emits a single vertex associated with the new primitive information. Each emitted vertex from the geometry shader function can be stored in a memory device. Unlike conventional graphic pipelines that require a memory device for data storage during the vertex and geometry shading processes, the present invention increases efficiency in the graphics pipeline by eliminating the need to access memory when the vertex and geometry shaders process vertex information.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 3.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: processing one or more vertices of a geometric primitive within a vertex shader function, wherein processed vertices output from the vertex shader function are temporarily stored; retrieving the temporarily stored processed vertices by a geometry shader function; and generating new primitive information within the geometry shader function based upon the processed vertices, the generating emitting a single vertex associated with the new primitive information, wherein the vertex shader function and the geometry shader function are implemented in a merged shader, the merged s
- Claim 2Depends on #1
The method of claim 1 , further comprising: storing the new primitive information for the emitted vertex in a memory device; and connecting a plurality of stored
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗