摘要 |
A tessellation unit of a graphics processing unit (GPU) determines domain coordinates for vertices of a received primitive. The tessellation unit outputs the determined domain coordinates for the vertices. The tessellation unit further determines that a domain type for the received primitive is not one of tri, isoline, or quad domain, and outputs information indicative of a graphical feature associated with one or more of the determined domain coordinates when the domain type is not one of the tri, isoline, or quad domain. |
主权项 |
1. A method comprising:
determining, with a tessellation unit of a graphics processing unit (GPU), domain coordinates for vertices of a received primitive; outputting, with the tessellation unit, the determined domain coordinates for the vertices; determining, with the tessellation unit, that a domain type for the received primitive is one of a first type or a second type, wherein the first type and the second type is not one of tri, isoline, or quad domain; receiving, with the tessellation unit, a tessellation factor for a line segment, a tessellation factor for a start cap, a tessellation factor for joins, and a tessellation factor for an end cap when the domain type for the received primitive is determined to be of the first type, or receiving, with the tessellation unit, a tessellation delta value, a length of segment value, and an inverse length of segment value when the domain type for the received primitive is determined to be of the second type; and outputting, with the tessellation unit, information indicative of a graphical feature associated with one or more of the determined domain coordinates when the domain type is not one of the tri, isoline, or quad domain. |