Patent · US Active

Optimizing compilation of shaders

US10210591B2 · kind B2 · utility

0Cited by
2References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateFeb 2, 2015
Grant dateFeb 19, 2019
Priority date
Expiry dateMar 4, 2036

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.