Patent ID: 11869140
Assignee: ADVANCED MICRO DEVICES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. A device comprising:
a memory storing instructions; and
a processor, wherein the processor is configured to execute the instructions to:
obtain a first combined shader program that includes instructions for a first shader stage and for a second shader stage, wherein the first shader stage comprises a vertex shader stage;
transmit the first combined shader program to an accelerated processing device (“APD”) to execute the first combined shader program, wherein the first combined shader program is executed by the APD operating in a first mode that utilizes a first combined shader stage that corresponds to functionality of the first shader stage and the second shader stage and executing the first combined shader program includes launching a wavefront of a first type to perform the functionality of both the first shader stage and the second shader stage;
obtain a second combined shader program that includes instructions for the first shader stage and for a third shader stage; and
transmit the second combined shader program to the APD to execute the second combined shader program, wherein the second combined shader program is executed by the APD operating in a second mode that utilizes a second combined shader stage that corresponds to functionality of the first shader stage and the third shader stage and executing the second combined shader program includes launching a wavefront of a second type to perform the functionality of both the first shader stage and the third shader stage.