Optimizing compilation of shaders
AssigneeMicrosoft Technology Licensing, LLC
InventorsIvan Nevraev, Cole Brooking, J. Andrew Goossen, Eric Christoffersen, Jason Strayer
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Technology Licensing, LLC
InventorsIvan Nevraev, Cole Brooking, J. Andrew Goossen, Eric Christoffersen, Jason Strayer
Estimating the term…
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.
A method performed by a computing device to generate permutations of compilation parameters for a shader, comprising:
A system configured to generate variations of compilation parameters for shaders used by an application, comprising:
One or more hardware-based computer-readable memory devices storing computer readable instructions which, when executed by one or more processors associated with a computing device, cause the computing device to:
Dependencies are inferred from the claim text.