CPC G06T 15/005 (2013.01) [G06F 9/5016 (2013.01)] | 14 Claims |
1. A method of managing resources in a graphics processing pipeline, the method comprising:
in response to selecting a task for execution within a texture/shading unit, allocating to the task both a static allocation of temporary registers for the entire task and a dynamic allocation of temporary registers for a first phase of the task only, wherein the task executes a program comprising a plurality of phases and wherein the static allocation of temporary registers comprises any temporary registers that are live at a boundary between two phases; and
when the task reaches a boundary between two phases, freeing the dynamic allocation of temporary registers and allocating to the task a new dynamic allocation of temporary registers for a next phase of the task, wherein the static allocation of temporary registers is not freed until the task has completed execution.
|