i965: Move next_offset() to brw_eu.h for use elsewhere.
authorMatt Turner <mattst88@gmail.com>
Sat, 17 May 2014 20:00:12 +0000 (13:00 -0700)
committerMatt Turner <mattst88@gmail.com>
Sun, 25 May 2014 06:03:23 +0000 (23:03 -0700)
commit392cbc2f930b2505520e85b97b407cb6d4e17548
tree0416c3440fd74a137a4f0a3fd250fc268e91c5fb
parente32e69cc27471f91093d5ceba0a18b22b4e4f8c0
i965: Move next_offset() to brw_eu.h for use elsewhere.

Also perform arithmetic on char* rather than void* since the latter is a
GNU C extension not available in C++.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_eu.h
src/mesa/drivers/dri/i965/brw_eu_emit.c