diff options
author | Henri Verbeet <[email protected]> | 2011-01-07 17:06:11 +0100 |
---|---|---|
committer | Henri Verbeet <[email protected]> | 2011-01-07 18:21:12 +0100 |
commit | 8273921b7a41251f3f5a87df995913cb291902ca (patch) | |
tree | 13c4809b37da73cef3e8e64127063ab3905ade6d /src/gallium/drivers/r600/r600_asm.h | |
parent | be1af4394e060677b7db6bbb8e3301e38a3363da (diff) |
r600g: Store kcache settings as an array.
Diffstat (limited to 'src/gallium/drivers/r600/r600_asm.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_asm.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.h b/src/gallium/drivers/r600/r600_asm.h index b147f0f5c88..a5504ad39f4 100644 --- a/src/gallium/drivers/r600/r600_asm.h +++ b/src/gallium/drivers/r600/r600_asm.h @@ -125,6 +125,12 @@ struct r600_bc_output { unsigned barrier; }; +struct r600_bc_kcache { + unsigned bank; + unsigned mode; + unsigned addr; +}; + struct r600_bc_cf { struct list_head list; unsigned inst; @@ -134,12 +140,7 @@ struct r600_bc_cf { unsigned cond; unsigned pop_count; unsigned cf_addr; /* control flow addr */ - unsigned kcache0_mode; - unsigned kcache1_mode; - unsigned kcache0_addr; - unsigned kcache1_addr; - unsigned kcache0_bank; - unsigned kcache1_bank; + struct r600_bc_kcache kcache[2]; unsigned r6xx_uses_waterfall; struct list_head alu; struct list_head tex; |