CPC G06T 15/005 (2013.01) [G06T 1/60 (2013.01)] | 30 Claims |
1. An apparatus for graphics processing, comprising:
a memory; and
at least one processor coupled to the memory and configured to:
receive a set of draw call instructions corresponding to a graphics workload, wherein the set of draw call instructions is associated with at least one run-time parameter corresponding to information available at a run-time for the graphics workload;
obtain a first shader program associated with storing data in a system memory and at least one second shader program associated with storing the data in a constant memory;
execute the first shader program or the at least one second shader program based on whether the at least one run-time parameter is less than or equal to a size of the constant memory; and
update or maintain a configuration of a shader processor or a streaming processor at a graphics processing unit (GPU) based on executing the first shader program or the at least one second shader program.
|