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).