Texturing/shading in a GPU pipeline bypassing bilinear filter
Abstract
A method of operation of a texturing/shading unit in a GPU pipeline is used for efficient convolution operations. The method uses texture hardware to collectively fetch all the texels required to calculate properties for a group of output pixels without any duplication. The method then bypasses bilinear filter hardware in the texture hardware and passes the fetched and unfiltered texel data from the texture hardware unit to shader hardware in the texturing/shading unit. The shader hardware uses the fetched texel data to perform a plurality of convolution operations to calculate the properties of each of the output pixel.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A method of operation of a texturing/shading unit in a GPU pipeline, the method comprising: for all texels required to calculate properties for a group of output pixels, bypassing bilinear filter hardware in texture hardware and passing unfiltered texel data from the texture hardware unit to shader hardware in the texturing/shading unit; and performing a plurality of convolution operations in the shader hardware using the texel data to calculate the properties of the group of output pixels.
- Claim 2Depends on #1
The method according to claim 1, wherein each texel required to calculate properties for the group of output pixels is fetched only once.
- Claim 3Depends on #1
The method according to claim 1, further comprising, prior to performing the plurality of convolution operations: broadcasting the texel data to registers allocated to instances corresponding to each of the output pixels.
- Claim 4Depends on #3
The method according to claim 3, wherein all the texel data for a group of output pixels is broadcast to registers allocated to each of the instances.
- Claim 5Depends on #3
The method according to claim 3, wherein performing a plurality of convolution operations using the texel data to calculate the properties for the group of output pixels comprises, for each output pixel: accessing texel data stored in registers allocated to corresponding instance; and performing a plurality of convolution operations using the accessed texel data and a set of weights to calculate the properties for the output pixel, wherein the weight for any texel that is outside a kernel of the convolution for the output pixel is set to zero.
- Claim 6Depends on #3
The method according to claim 3, wherein the texel data is selectively broadcast to registers allocated to instances corresponding to each of the output pixels such that registers for an instance only receive texel data for use in performing convolution operations for that instance.
- Claim 7Depends on #3
The method according to claim 3, wherein performing a plurality of convolution operations using the texel data to calculate the properties for the group of output pixels comprises, for each output pixel: accessing texel data stored in registers allocated to corresponding instance; and performing a plurality of convolution operations using the accessed texel data to calculate the properties for the output pixel.
- Claim 8Depends on #1
The method according to claim 1, wherein the texel data is stored in shared registers for the group of output pixels.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS AND CLAIM OF PRIORITY This application is a continuation, under 35 U.S.C. 120, of copending application Ser. No. 17/849,322 filed Jun. 24, 2022, now U.S. Pat. No. 11,967,012, which claims foreign priority under 35 U.S.C. 119 from United Kingdom Application No. 2109208.5 filed Jun. 25, 2021, the contents of which are incorporated by reference herein in their entirety. BACKGROUND Graphics processing typically involves performing huge numbers of computations to ultimately define the properties of each pixel that is rendered. Fragment shaders (also known as pixel shaders) may be used to compute these properties (e.g. colour and other attributes) where the term ‘ fragment ’ may be used to refer to an element of a primitive at a sample position and there may be a 1:1 correspondence between sample positions and pixel positions in the final rendered image. The properties of an output pixel may be dependent upon many texels from a source texture (where this source texture may be an intermediate render target generated by earlier operations within the graphics processing pipeline) and so computing the properties of an output pixel may involve a convolution operation (e.g. calculating a weighted sum of a group of texels from the source texture). The embodiments described below are provided by way of example only and are not limiting of implementations which solve any or all of the disadvantages of known graphics processing systems. SUMMARY This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. A method of operation of a texturing/shading unit in a GPU pipeline is described. The method uses texture hardware to collectively fetch all the texels required to calculate p
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (20)
| Patent | Title | Year | Citations |
|---|---|---|---|
| KR 20210104078 A | 살생물성(biocidal) 코팅 | — | 0 |