mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
i965: Add a macro for accessing the SO_WRITE_OFFSET[0-3] registers.
Using a function-like macro makes it easy to loop over all four streams. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com>
This commit is contained in:
parent
0ba1e65fb6
commit
58765bb481
1 changed files with 2 additions and 0 deletions
|
|
@ -291,6 +291,8 @@
|
|||
#define SO_NUM_PRIMS_WRITTEN2_IVB 0x5210
|
||||
#define SO_NUM_PRIMS_WRITTEN3_IVB 0x5218
|
||||
|
||||
#define GEN7_SO_WRITE_OFFSET(n) (0x5280 + (n) * 4)
|
||||
|
||||
#define TIMESTAMP 0x2358
|
||||
|
||||
#define BCS_SWCTRL 0x22200
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue