Shader Program Headers
AssigneeNVIDIA Corporation
InventorsJerome F. Duluk, JR., Jesse David Hall, Patrick R. Brown, Gernot Schaufler, Mark D. Stadler
Life of this patent
Estimating the term…
Abstract
One embodiment of the present invention sets forth a technique for configuring a graphics processing pipeline (GPP) to process data according to one or more shader programs. The method includes receiving a plurality of pointers, where each pointer references a different shader program header (SPH) included in a plurality of SPHs, and each SPH is associated with a different shader program that executes within the GPP. For each SPH included in the plurality of SPHs, one or more GPP configuration parameters included in the SPH are identified, and the GPP is adjusted based on the one or more GPP configuration parameters.
Claims20
A computer-implemented method for configuring a graphics processing pipeline (GPP) to process data according to one or more shader programs, the method comprising:
- receiving a plurality of pointers, wherein each pointer references a different shader program header (SPH) included in a plurality of SPHs, and each SPH is associated with a different shader program that executes within the GPP;
- and
- for each SPH included in the plurality of SPHs:
- identifying one or more GPP configuration parameters included in the SPH and adjusting the GPP based on the one or more GPP configuration parameters.
A computer-readable storage medium storing instructions that, when executed by a processor, cause a computing device to configure a graphics processing pipeline (GPP) to process data according to one or more shader programs, by performing the steps of:
- receiving a plurality of pointers, wherein each pointer references a different shader program header (SPH) included in a plurality of SPHs, and each SPH is associated with a different shader program that executes within the GPP;
- and
- for each SPH included in the plurality of SPHs:
- identifying one or more GPP configuration parameters included in the SPH and adjusting the GPP based on the one or more GPP configuration parameters.
A computing device that configures a graphics processing pipeline (GPP) to process data according to one or more shader programs, the computing device comprising:
- a host processor coupled to a main memory;
- and
- a graphics adapter having management unit, wherein the management unit is configured to:
- receive a plurality of pointers, wherein each pointer references a different shader program header (SPH) included in a plurality of SPHs, and each SPH is associated with a different shader program that executes within the GPP;
- and
- for each SPH included in the plurality of SPHs:
- identify one or more GPP configuration parameters included in the SPH and adjust the GPP based on the one or more GPP configuration parameters.
Dependencies are inferred from the claim text.