Native sampler feedback technology
Abstract
Methods, systems and apparatuses may provide for hardware sampler technology that determines mip region dimensions of a feedback map based on a description of the feedback map, identifies accessed texels in a texture based on a view of a resource that is paired with the feedback map, and records the accessed texels in the feedback map based on the mip region dimensions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 0.
Claims (21 — 3 Independent, 18 Dependent)
- Claim 1Independent Claim
A computing system comprising: a host processor; and a graphics processor coupled to the host processor, wherein the graphics processor includes sampler logic coupled to one or more substrates, the sampler logic to: determine mip region dimensions of a feedback map based on a description of the feedback map, identify accessed texels in a texture based on a view of a resource that is paired with the feedback map, and record the accessed texels in the feedback map based on the mip region dimensions; wherein the graphics processor further includes a native copy operation to transfer mip region information between the feedback map and an application resource, wherein the native copy operation is to operate via one or more of: bypassing a padded portion of the feedback map, or bypassing, by the mip region information, a color compression surface.
- Claim 2Depends on #1
The computing system of claim 1, wherein the sampler logic is to translate coordinates of the accessed texels into mip region coordinates in the feedback map based on the mip region dimensions, and wherein the accessed texels are recorded in the feedback map in accordance with the mip region coordinates.
- Claim 3Depends on #1
The computing system of claim 1, wherein each pixel in the feedback map is to contain information for one complete mip region.
- Claim 4Depends on #1
The computing system of claim 1, wherein the accessed texels are recorded in the feedback map in an application-usable data storage layout.
- Claim 5Depends on #1
The computing system of claim 1, wherein the view is a subset of all array elements of the resource.
- Claim 6Depends on #1
The computing system of claim 1, wherein the view is a subset of all mip levels of the resource.
- Claim 7Depends on #1
The computing system of claim 1, wherein the view is to be a shader resource view.
- Claim 8Independent Claim
A semiconductor apparatus comprising: one or more substrates; and sampler logic coupled to the one or more substrates, wherein the sampler logic is implemented at least partly in one or more of configurable or fixed-functionality hardware, the sampler logic to: determine mip region dimensions of a feedback map based on a description of the feedback map; identify accessed texels in a texture based on a view of a resource that is paired with the feedback map; and record the accessed texels in the feedback map based on the mip region dimensions; wherein the semiconductor apparatus further includes a native copy operation to transfer mip region information between the feedback map and an application resource, wherein the native copy operation is to operate via one or more of: bypassing a padded portion of the feedback map, or bypassing, by the mip region information, a color compression surface.
- Claim 9Depends on #8
The semiconductor apparatus of claim 8, wherein the sampler logic is to translate coordinates of the accessed texels into mip region coordinates in the feedback map based on the mip region dimensions, and wherein the accessed texels are recorded in the feedback map in accordance with the mip region coordinates.
- Claim 10Depends on #8
The semiconductor apparatus of claim 8, wherein each pixel in the feedback map is to contain information for one complete mip region.
- Claim 11Depends on #8
The semiconductor apparatus of claim 8, wherein the accessed texels are recorded in the feedback map in an application-usable data storage layout.
- Claim 12Depends on #8
The semiconductor apparatus of claim 8, wherein the view is a subset of all array elements of the resource.
- Claim 13Depends on #8
The semiconductor apparatus of claim 8, wherein the view is a subset of all mip levels of the resource.
- Claim 14Depends on #8
The semiconductor apparatus of claim 8, wherein the view is to be a shader resource view.
- Claim 15Independent Claim
A method comprising: determining, by a hardware sampler of a graphics processor, mip region dimensions of a feedback map based on a description of the feedback map; identifying, by the hardware sampler, accessed texels in a texture based on a view of a resource that is paired with the feedback map; and recording, by the hardware sampler, the accessed texels in the feedback map based on the mip region dimensions; wherein the graphics processor further includes a native copy operation to transfer mip region information between the feedback map and an application resource, wherein the native copy operation operates via one or more of: bypassing a padded portion of the feedback map, or bypassing, by the mip region information, a color compression surface.
- Claim 16Depends on #15
The method of claim 15, further including translating, by the hardware sampler, coordinates of the accessed texels into mip region coordinates in the feedback map based on the mip region dimensions, wherein the accessed texels are recorded in the feedback map in accordance with the mip region coordinates.
- Claim 17Depends on #15
The method of claim 15, wherein each pixel in the feedback map contains information for one complete mip region.
- Claim 18Depends on #15
The method of claim 15, wherein the accessed texels are recorded in the feedback map in an application-usable data storage layout.
- Claim 19Depends on #15
The method of claim 15, wherein the view is a subset of all array elements of the resource.
- Claim 20Depends on #15
The method of claim 15, wherein the view is a subset of all mip levels of the resource.
- Claim 21Depends on #15
The method of claim 15, wherein the view is a shader resource view.
Technical Overview & Description
TECHNICAL FIELD Embodiments generally relate to graphics processing architectures. More particularly, embodiments relate to native sampler feedback technology in graphics processing architectures. BACKGROUND In graphics processing architectures, textures generally describe the surfaces of three-dimensional (3D) objects. In such a case, a sampler may conduct texture sampling operations, where the sampler includes specialized functionality to process/evaluate texture data before providing the sampled data to an execution unit. Additionally, feedback provided from the sampler to an application may assist application developers in improving streaming and/or texture-space shading aspects of the application. BRIEF DESCRIPTION OF THE DRAWINGS The various advantages of the embodiments will become apparent to one skilled in the art by reading the following specification and appended claims, and by referencing the following drawings, in which: FIG. 1 is a block diagram of an example of a host processor and graphics hardware (HW) according to an embodiment; FIGS. 2 - 7 are flowcharts of examples of methods of operating a processor according to an embodiment; FIG. 8 is a flowchart of an example of a method of operating a hardware sampler according to an embodiment; FIG. 9 is a block diagram of an example of a performance-enhanced computing system according to an embodiment; FIG. 10 is a block diagram of an example of a processing system according to an embodiment; FIGS. 11 A- 11 D are block diagrams of examples of computing systems and graphics processors according to embodiments; FIGS. 12 A- 12 C are block diagrams of examples of additional graphics processor and compute accelerator architectures according to embodiments; FIG. 13 is a block diagram of an example of a graphics processing engine of a graphics processor according to an embodiment; FIGS. 14
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 (4)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Microsoft,
- “
- DirectX-Specs
- ”
- , Aug. 28, 2020, URL: https://web.archive.org/web/20200828230441/https://microsoft.github.io/DirectX-Specs/d3d/SamplerFeedback.html (Year: 2020).
- Microsoft, Inc.,
- “
- Sampler Feedback,
- ”
- <