Acceleration of shader programs by compiler precision selection
AssigneeMicrosoft Technology Licensing, LLC
InventorsIvan Nevraev, Vishal Chandra Sharma
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Technology Licensing, LLC
InventorsIvan Nevraev, Vishal Chandra Sharma
Estimating the term…
Methods and devices for lowering precision of computations used in shader programs may include receiving program code for a shader program to use with a graphics processing unit (GPU) that supports half precision storage and arithmetic in shader programs. The methods and devices may include performing at least one pass on the program code to select a set of operations within the program code to lower a precision of a plurality of computations used by the set of operations and evaluating a risk of precision loss for lowering the precision to a half precision for each computation of the plurality of computations. The methods and devices may include generating edited program code by rewriting the computation to the half precision in response to the risk of precision loss being a precision loss threshold.
A computer device, comprising:
A method for lowering precision of computations used in shader programs, comprising:
A non-transitory computer-readable medium storing instructions executable by a computer device, comprising:
Dependencies are inferred from the claim text.