Graphics processing subsystem for recovering projection parameters for rendering effects and method of use thereof
AssigneeNVIDIA Corporation
InventorsLouis Bavoil, Miguel Sainz, Byungmoon Kim
Life of this patent
Estimating the term…
Abstract
A graphics processing subsystem for recovering projection parameters for rendering effects and a method of use thereof. One embodiment of the graphics processing subsystem includes: (1) a memory configured to store a buffer having a plurality of constants determinable upon execution of an application for which a scene is rendered, and (2) a central processing unit (CPU) operable to determine projection parameters from the buffer according to shader-reflection metadata attached to a programmable shader submitted for execution, and employ the projection parameters to cause an effect to be rendered on the scene by a graphics processing unit (GPU).
Claims23
A graphics processing subsystem, comprising:
- a memory configured to store a buffer having a plurality of constants determinable upon execution of an application for which a scene is rendered;
- and
- a central processing unit (CPU) operable to determine projection parameters from said buffer according to shader-reflection metadata attached to a programmable shader submitted for execution, and employ said projection parameters to cause an effect to be rendered on said scene by a graphics processing unit (GPU).
A method of recovering projection parameters for rendering an effect, comprising:
- extracting a matrix from a buffer according to shader-reflection metadata;
- verifying said matrix contains data from which projection parameters are derived;
- and
- employing said projection parameters in rendering said effect.
A graphics processing system for rendering a scene and rendering an effect in three-dimensional space, comprising:
- a memory configured to store a constant buffer;
- a shader cache configured to store a plurality of programmable shaders having shader-reflection metadata that describes said constant buffer;
- a central processing unit (CPU) operable to:
- execute an application, thereby writing data based on projection parameters to said constant buffer and submitting said data and said plurality of programmable shaders to an application programming interface (API), and
- execute a device driver configured to employ said shader-reflection metadata to detect and recover said projection parameters from said data;
- and
- a graphics processing unit (GPU) configured to employ said projection parameters to render said effect.
Dependencies are inferred from the claim text.