{"pub_number":"US12374030B2","doc_number":"12374030","country":"US","kind_code":"B2","patent_type":"utility","status":"active","title":"Post-tessellation blending in a GPU pipeline","abstract_text":"Implementations of post-tessellation blender hardware perform both domain shading and blending and whilst some vertices may not require blending, all vertices require domain shading. The blender hardware includes a cache and/or a content addressable memory and these data structures are used to reduce duplicate domain shading operations.","claims":[{"number":1,"text":"A post-tessellation blender hardware apparatus, comprising: a cache arranged to, in the event of a cache hit at a cache entry for a UV coordinate of a domain space vertex, output a world space vertex corresponding to the UV coordinate from the cache entry, and in the event of a cache miss for the UV coordinate, output the UV coordinate to a domain shader, where the domain space vertex comprises UV coordinates of neighbour vertices that are not inherent from the UV coordinates of the vertex itself.","independent":true},{"number":2,"text":"The blender hardware apparatus according to claim 1, wherein the domain space vertex further comprises UV coordinates of the vertex and a blend weight of the domain space vertex, and wherein the blender hardware apparatus further comprises: an input for receiving the domain space vertex output by a tessellation unit; a blend unit arranged to receive the blend weight of the domain space vertex, world space vertices for the domain space vertex and its neighbour vertices generated by a domain shader or accessed from the cache, and to generate a single world space vertex for the domain space vertex using the blend weight, and a blend weight assessment logic block comprising hardware logic arranged to determine if the blend weight of the domain space vertex is equal to one and in response to determining that the blend weight of the domain space vertex is not equal to one, to output the UV coordinates of neighbours of the domain space vertex to the cache, wherein the cache is further arrange","independent":false,"depends_on":[1]},{"number":3,"text":"The blender hardware apparatus according to claim 2, wherein the blend weight assessment logic block is further arranged, in response to determining that the blend weight of the domain space vertex is equal to one, to output the UV coordinates of the vertex to the cache and wherein the cache is arranged to, in the event of a cache hit at a cache entry for any of the UV coordinates of a neighbour of the domain space vertex, output the world space vertex from the cache entry, and in the event of a cache miss for the UV coordinates of one or more of the neighbours of the domain space vertex, output the UV coordinates of the one or more neighbours to a domain shader.","independent":false,"depends_on":[2]},{"number":4,"text":"The blender hardware apparatus according to claim 2, wherein the blend weight assessment logic block is further arranged, in response to determining that the blend weight of the domain space vertex is equal to one, to output the UV coordinates of the domain space vertex to a domain shader.","independent":false,"depends_on":[2]},{"number":5,"text":"The blender hardware apparatus according to claim 2, wherein the blend unit comprises: a linear averaging hardware logic block comprising an input for receiving one or more world space vertices of neighbour vertices and hardware logic arranged to generate a linear average of all neighbour world space vertices using fixed weights; and a hardware interpolation block comprising an input for receiving a world space vertex for the domain space vertex itself, a world space vertex output by the linear averaging hardware logic block and the blend weight and hardware logic arranged to perform a linear interpolation of the world space vertex for the domain space vertex itself and the world space vertex output by the linear averaging hardware logic block using the blend weight to generate the single world space vertex for the domain space vertex.","independent":false,"depends_on":[2]},{"number":6,"text":"The blender hardware apparatus according to claim 1, wherein the blender hardware apparatus further comprises: a vertex decompression hardware logic block arranged to generate the UV coordinates of neighbour vertices from the domain space vertex and output the UV coordinates of the neighbour vertices to the cache; and a blend weight assessment logic block comprising hardware logic arranged to determine if the blend weight of the domain space vertex is equal to one, and in response to determining that the blend weight of the domain space vertex is not equal to one, to output the domain space vertex to the vertex decompression hardware logic block.","independent":false,"depends_on":[1]},{"number":7,"text":"The blender hardware apparatus according to claim 1, wherein the cache is further arranged in response to receiving a new world space vertex from the domain shader when all entries in the cache are full, to evict a data pair from a selected entry in the cache and store the received world space vertex in the selected entry.","independent":false,"depends_on":[1]},{"number":8,"text":"The blender hardware apparatus according to claim 7, wherein the cache is further arranged to select an oldest entry in the cache for eviction.","independent":false,"depends_on":[7]}],"description":"CROSS-REFERENCE TO RELATED APPLICATIONS AND CLAIM OF PRIORITY\nThis application is a continuation under 35 U.S.C. 120 of application Ser. No. 17/744,426 filed May 13, 2022, now U.S. Pat. No. 12,026,828, which is a continuation of prior application Ser. No. 17/155,370 filed Jan. 22, 2021, now U.S. Pat. No. 11,361,499, which is a continuation of prior application Ser. No. 16/376,071 filed Apr. 5, 2019, now U.S. Pat. No. 10,937,228, which claims foreign priority under 35 U.S.C. 119 from United Kingdom Application No. 1805656.4 filed Apr. 5, 2018, the disclosures of which are incorporated herein by reference in their entirety.\nBACKGROUND\nTessellation is a technique used in computer graphics to divide up a set of surfaces representing objects in a scene into a number of smaller and simpler pieces, (referred to as primitives), typically triangles, which are more amenable to rendering. The resulting tessellated surface is generally an approximation to the original surface, but the accuracy of this approximation can be improved by increasing the number of generated primitives, which in turn usually results in the primitives being smaller. The amount of tessellation/sub-division is usually determined by a level of detail (LOD). An increased number of primitives is therefore typically used where a higher level of detail is required, e.g. because an object is closer to the viewer and/or the object has a more intricate shape. However, use of larger numbers of triangles increases the processing effort required to render the scene.\nThe sub-division into triangle primitives is typically performed on patches which are square or triangular in shape (i.e. a quad or a triangle) and which may be curved to fit to the surface of the object they represent (and hence may be referred to as\n‘\nsurface patches\n’\n) and/or have displacement mapping applied. The sub-division, however, is not performed on curved patches but is instead performed in the domain of the patch (e.g. as if the patch is pl","inventors":[{"name":"Peter Malcolm Lacey","slug":"peter-malcolm-lacey","city":"Hertfordshire","country":"GB"},{"name":"Simon Fenney","slug":"simon-fenney","city":"Hertfordshire","country":"GB"},{"name":"Tobias Hector","slug":"tobias-hector","city":"Hertfordshire","country":"GB"},{"name":"Ian King","slug":"ian-king","city":"Hertfordshire","country":"GB"}],"assignees":[{"name":"Imagination Technologies Limited","slug":"imagination-technologies-limited","country":"GB"}],"examiners":[],"cpc_codes":["G06F 9/382","G06T 1/20","G06T 15/005","G06T 15/503","G06T 15/80","G06T 17/10","G06T 17/20","G06T 2200/28"],"ipc_codes":["G06F 9/38","G06T 1/20","G06T 15/00","G06T 15/50","G06T 15/80","G06T 17/10","G06T 17/20"],"filing_date":"2024-05-20","pub_date":"2025-07-29","grant_date":"2025-07-29","expiration_date":"2044-05-20","family_members":[],"citations_made":[{"pub_number":"US6597363B1","category":"applicant"},{"pub_number":"US6697063B1","category":"applicant"},{"pub_number":"US7170515B1","category":"applicant"},{"pub_number":"US10937228B2","category":"examiner"},{"pub_number":"US11361499B2","category":"examiner"},{"pub_number":"US12026828B2","category":"examiner"},{"pub_number":"US20140063012A1","category":"applicant"},{"pub_number":"US20140111513A1","category":"applicant"},{"pub_number":"US20140210819A1","category":"applicant"},{"pub_number":"US20160093102A1","category":"applicant"},{"pub_number":"US20160358373A1","category":"applicant"},{"pub_number":"CN104737208A","category":"applicant"},{"pub_number":"CN104956402A","category":"applicant"},{"pub_number":"CN105684037A","category":"applicant"},{"pub_number":"CN106251377A","category":"applicant"},{"pub_number":"CN106251391A","category":"applicant"},{"pub_number":"CN106504184A","category":"applicant"},{"pub_number":"EP3101627A1","category":"applicant"},{"pub_number":"WO2016048577A1","category":"applicant"}],"non_patent_literature":[],"drawings_count":0,"source_id":"uspto_patent_grants","upstream_forward_citations":0,"metrics":{"forward_citations":0,"indexed_forward_citations":0,"backward_citations":19,"npl_citations":0,"citations_per_year":0.0,"pagerank":0.0,"citation_rank":3483404,"pagerank_rank":3483404,"velocity_rank":3483404,"family_citations":0}}