| CPC G06T 15/005 (2013.01) [G06T 15/80 (2013.01)] | 28 Claims |

|
1. An apparatus for graphics processing, comprising:
a memory; and
at least one processor coupled to the memory and configured to:
obtain instruction execution data associated with a graphics workload, the instruction execution data including graphics data for a set of shader operations;
configure, at a first iteration, at least one predication value based on the instruction execution data including the graphics data for the set of shader operations, the at least one predication value indicating a likelihood of an occurrence of a condition for the graphics workload, the condition for the graphics workload being associated with a streaming processor of a graphics processing unit (GPU), wherein the streaming processor comprises a feedback controller block configured to enable the at least one predication value to be configured, and wherein the feedback controller block comprises a set of context registers per shader slot associated with the set of shader operations and a set of counters;
adjust, at a second iteration subsequent to the first iteration and without altering a function or a result of the graphics workload, an execution flow of the graphics workload based on the configured at least one predication value, the execution flow of the graphics workload including the set of shader operations; and
execute or refrain from executing, at the second iteration, each of the set of shader operations based on the adjusted execution flow of the graphics workload.
|