Method and apparatus for filtered coarse pixel shading
AssigneeIntel Corporation
InventorsGabor Liktor, Marco Salvi, Karthik Vaidyanathan
Life of this patent
Estimating the term…
Abstract
An apparatus and method for performing coarse pixel shading (CPS). For example, one embodiment of a method comprises: A method for coarse pixel shading (CPS) comprising: pre-processing a graphics mesh by creating a tangent-plane parameterization of desired vertex attributes for each vertex of the mesh; and performing rasterization of the mesh in a rasterization stage of a graphics pipeline using the tangent-plane parameterization.
Claims21
A method comprising:
- pre-processing a graphics mesh by creating a tangent-plane parameterization of desired vertex attributes, wherein the tangent-plane parameterization includes:
- for each vertex of the graphics mesh,
- collecting neighboring triangles sharing the vertex, and
- iterating over the neighboring triangles and projecting them into a same tangent plane,
- wherein the projection includes obtaining first-order derivatives at the vertex using the neighboring triangles at the tangent plane, and wherein each first-order derivative is a texture derivative that is derived based on two scalar parameters of points on the tangent plane;
- performing rasterization of the graphics mesh in a rasterization stage of a graphics pipeline using the tangent-plane parameterization;
- and
- displaying resulting pixels from the rasterization to a display device.
A non-transitory machine-readable medium for coarse pixel shading (CPS) having program code stored thereon which, when executed by a machine, causes the machine to perform the operations of:
- pre-processing a graphics mesh by creating a tangent-plane parameterization of desired vertex attributes, wherein the tangent-plane parameterization includes:
- for each vertex of the graphics mesh,
- collecting neighboring triangles sharing the vertex, and
- iterating over the neighboring triangles and projecting them into a same tangent plane, wherein the projection includes obtaining first-order derivatives at the vertex using the neighboring triangles at the tangent plane, and wherein each first-order derivative is a texture derivative that is derived based on two scalar parameters of points on the tangent plane;
- performing rasterization of the graphics mesh in a rasterization stage of a graphics pipeline using the tangent-plane parameterization;
- and
- displaying resulting pixels from the rasterization to a display device.
An apparatus for coarse pixel shading (CPS) comprising:
- preprocessing logic to pre-process a graphics mesh prior to rasterization by creating a tangent-plane parameterization of desired vertex attributes, wherein the tangent-plane parameterization includes:
- for each vertex of the graphics mesh,
- collecting neighboring triangles sharing the vertex, and
- iterating over the neighboring triangles and projecting them into a same tangent plane;
- wherein the projection includes obtaining first-order derivatives at the vertex using the neighboring triangles at the tangent plane, and wherein each first-order derivative is a texture derivative that is derived based on two scalar parameters of points on the tangent plane,
- a rasterization stage of a graphics pipeline to perform rasterization of the graphics mesh using the tangent-plane parameterization;
- and
- a display device to display resulting pixels from the rasterization.
Dependencies are inferred from the claim text.