- 专利标题: Primitive culling using automatically compiled compute shaders
-
申请号: US15221431申请日: 2016-07-27
-
公开(公告)号: US10102662B2公开(公告)日: 2018-10-16
- 发明人: Guohua Jin , Qun Lin , Benedikt Kessler
- 申请人: Advanced Micro Devices, Inc.
- 申请人地址: US CA Santa Clara
- 专利权人: Advanced Micro Devices, Inc.
- 当前专利权人: Advanced Micro Devices, Inc.
- 当前专利权人地址: US CA Santa Clara
- 代理机构: Volpe and Koenig, P.C.
- 主分类号: G06T15/00
- IPC分类号: G06T15/00 ; G06T15/80 ; G06T15/40
摘要:
Techniques for culling primitives are provided herein. The techniques involve automatic generation of shader programs to be executed by an accelerated processing device. A just-in-time compiler automatically generates the shader programs based on a vertex shader program that is provided for use in the vertex shader stage of the graphics processing pipeline. The automatically generated shader programs include instructions from the vertex shader program that transform the positions of vertices provided as input to the graphics processing pipeline to generate transformed input vertices. The shader programs also include instructions to cull primitives based on the transformed input vertices. After generating the automatically generated shader programs, the software module transmits the automatically generated shader programs to the graphics processing pipeline for execution. After culling primitives, the automatically generated shader programs output culled primitives to the remainder of the graphics processing pipeline.
公开/授权文献
信息查询
IPC分类:
G | 物理 |
G06 | 计算;推算或计数 |
G06T | 一般的图像数据处理或产生 |
G06T15/00 | 3D〔三维〕图像的加工 |