i965: Add a macro for accessing the SO_WRITE_OFFSET[0-3] registers.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 21 Apr 2013 05:35:46 +0000 (22:35 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 21 May 2013 20:29:06 +0000 (13:29 -0700)
commit58765bb481636c15af2e0e92de51bbc465967c09
tree31d5d63626111465ce71cc9d2dd553c155d742a7
parent0ba1e65fb6820ea477714b3db76407fe97c6de55
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>
src/mesa/drivers/dri/intel/intel_reg.h