Optimizing compilation of shaders
US12412230B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Jun 7, 2022 |
| Grant date | Sep 9, 2025 |
| Priority date | — |
| Expiry date | Feb 11, 2043 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG09G2360/10
- WIPO fieldAudio-visual technology
- WIPO sectorElectrical engineering
Abstract
To optimize the compilation of shaders for execution within an application, a computer system discovers the context in which the shaders are executed. The application is compiled and executed on a target platform. Snapshots of the application during execution are captured. A snapshot includes data and commands passed between the central processing unit and the graphics processing unit of the target platform to generate a single frame of graphics data. The shaders used in these snapshots are identified. These shaders are compiled with a number of different permutations of available compiler options, resulting in sets of differently compiled shaders. The snapshot is re-executed with the sets of differently compiled shaders, and performance is measured. The set of compiler options that results in compiled shaders providing better performance can be used as the set of compilation parameters for the set of shaders for this application.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.