发明授权
- 专利标题: Cull before vertex attribute fetch and vertex lighting
- 专利标题(中): 在顶点属性获取和顶点照明之前进行Cull
-
申请号: US12505402申请日: 2009-07-17
-
公开(公告)号: US08564616B1公开(公告)日: 2013-10-22
- 发明人: Ziyad S. Hakura , John Erik Lindholm , Emmett M. Kilgariff , Robert Ohannessian , Scott R. Whitman , James C. Bowman , Patrick R. Brown , Ross A. Cunniff
- 申请人: Ziyad S. Hakura , John Erik Lindholm , Emmett M. Kilgariff , Robert Ohannessian , Scott R. Whitman , James C. Bowman , Patrick R. Brown , Ross A. Cunniff
- 申请人地址: US CA Santa Clara
- 专利权人: Nvidia Corporation
- 当前专利权人: Nvidia Corporation
- 当前专利权人地址: US CA Santa Clara
- 代理机构: Patterson & Sheridan, L.L.P.
- 主分类号: G09G5/00
- IPC分类号: G09G5/00
摘要:
One embodiment of the invention sets forth a mechanism for compiling a vertex shader program into two portions, a culling portion and a shading portion. The culling portion of the compiled vertex shader program specifies vertex attributes and instructions of the vertex shader program needed to determine whether early vertex culling operations should be performed on a batch of vertices associated with one or more primitives of a graphics scene. The shading portion of the compiled vertex shader program specifies the remaining vertex attributes and instructions of the vertex shader program for performing vertex lighting and performing other operations on the vertices in the batch of vertices. When the compiled vertex shader program is executed by graphics processing hardware, the shading portion of the compiled vertex shader is executed only when early vertex culling operations are not performed on the batch of vertices.
信息查询