diff options
author | Glenn Kennard <[email protected]> | 2015-10-07 17:17:33 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-10-13 08:55:33 +1000 |
commit | 1befb7ed9856381cbfe874f361fae73b8e331bb4 (patch) | |
tree | 4c2dc720fe66284af1b26477f2b1521947814888 /src/gallium/drivers/r600/sb/sb_sched.h | |
parent | 80c5062abfdef28e23615f44b214760449f6a582 (diff) |
r600g/sb: SB support for UBO indexing
Signed-off-by: Glenn Kennard <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/sb/sb_sched.h')
-rw-r--r-- | src/gallium/drivers/r600/sb/sb_sched.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/sb/sb_sched.h b/src/gallium/drivers/r600/sb/sb_sched.h index 2ca714665a7..05b428ca884 100644 --- a/src/gallium/drivers/r600/sb/sb_sched.h +++ b/src/gallium/drivers/r600/sb/sb_sched.h @@ -66,6 +66,7 @@ public: class literal_tracker { literal lt[4]; unsigned uc[4]; + public: literal_tracker() : lt(), uc() {} @@ -219,6 +220,8 @@ public: // bottom-up) value *current_ar; value *current_pr; + // current values of CF_IDX registers that need preloading + value *current_idx[2]; alu_clause_tracker(shader &sh); @@ -256,6 +259,7 @@ class post_scheduler : public pass { val_set cleared_interf; + void emit_index_registers(); public: post_scheduler(shader &sh) : pass(sh), |