Method and apparatus for efficient processing of derived uniform values in a graphics processor
US10726605B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Sep 15, 2017 |
| Grant date | Jul 28, 2020 |
| Priority date | — |
| Expiry date | Sep 15, 2037 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06T2200/04
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
Various embodiments enable low frequency calculation of derived uniform values. A compiler can identify one or more portions of a shader that calculate a derived value based on an input value. For example, this portion may include instructions that use constant values, or the results of prior functions that used constant values. The constant values may include hardcoded values provided by the program (e.g., immediates) and/or other constant values. This portion of the shader can be extracted by the compiler and compiled into a first program. The compiler can compile the remainder of the shader into a second program that receives the derived uniform values from the first program. By extracting the portion(s) of the program that calculates a derived value into a separate program, the derived uniform value or values can be calculated at a lower frequency than if they were calculated for each pixel.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.