diff options
author | Rob Clark <[email protected]> | 2015-04-30 13:57:15 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-06-21 07:53:17 -0400 |
commit | 7273cb4e933f8be65fc73b9d8c69c76d1078cb14 (patch) | |
tree | c37dc582a6892349a72543da34df2c47fa7a73cb /src/gallium/drivers/freedreno/ir3/ir3.h | |
parent | adf1659ff5f07d907eca552be3b566e408c8601e (diff) |
freedreno/ir3/sched: convert to priority queue
Use a more standard priority-queue based scheduling algo. It is simpler
and will make things easier once we have multiple basic blocks and flow
control.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3.h')
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3.h b/src/gallium/drivers/freedreno/ir3/ir3.h index edb5b49e23c..030a74fe21a 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3.h +++ b/src/gallium/drivers/freedreno/ir3/ir3.h @@ -346,6 +346,9 @@ struct ir3 { */ unsigned indirects_count, indirects_sz; struct ir3_instruction **indirects; + /* and same for instructions that consume predicate register: */ + unsigned predicates_count, predicates_sz; + struct ir3_instruction **predicates; struct ir3_block *block; unsigned heap_idx; |