Render-Time Linking of Shaders
AssigneeMicrosoft Corporation
InventorsLuke Olsen, Jeff Bloomfield, Simon Tao, Stephen Proteau
Life of this patent
Estimating the term…
Abstract
In one example, a graphics rendering subsystem may selectively link a set of graphic effect modules, such as shaders, to increase processing efficiency. The graphics rendering subsystem may execute a comparison of a performance attribute of a first pre-compiled graphic effect module with a linking criteria. The graphics rendering subsystem may link the first pre-compiled graphic effect module and a second pre-compiled graphic effect module at render-time in response to the performance attribute satisfying the linking criteria.
Claims20
A machine-implemented method, comprising:
- executing a comparison of a performance attribute of a first pre-compiled graphic effect module with a linking criteria;
- and
- linking the first pre-compiled graphic effect module and a second pre-compiled graphic effect module at render-time in response to the performance attribute satisfying the linking criteria.
A tangible machine-readable medium having a set of instructions detailing a method stored thereon that when executed by a processing system having one or more processors cause the processing system to perform:
- executing a comparison of a performance attribute of a first pre-compiled graphic effect module with a linking criteria;
- linking the first pre-compiled graphic effect module and a second pre-compiled graphic effect module at render-time in response to the performance attribute satisfying the linking criteria;
- and
- executing the first pre-compiled graphic effect module and the second pre-compiled graphic effect module on a graphic data set in a single render pass.
A graphics rendering subsystem, comprising:
- a central processing unit configured to execute a comparison of a performance attribute of a first pre-compiled graphic effect module with a linking criteria and to link the first pre-compiled graphic effect module and a second pre-compiled graphic effect module;
- and
- a graphics processing unit configured to execute the first pre-compiled graphic effect module and the second pre-compiled graphic effect module on a graphic data set in a single render pass.
Dependencies are inferred from the claim text.