i965: Split struct brw_reg out from brw_eu.h into its own header.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 9 Nov 2012 22:00:15 +0000 (14:00 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 15 Dec 2012 21:40:09 +0000 (13:40 -0800)
commit1db1283563468d9aa04fb2d343a38a5f6fbc3540
treea82c257298343101c10e23bd9e73e3b87d4a8339
parente1ca88f098b74a6253db714ffc63d73341e60cb2
i965: Split struct brw_reg out from brw_eu.h into its own header.

struct brw_instruction and the related instruction emitting code won't
be useful on Gen8+, as the instruction encoding changed.  However, the
struct brw_reg code is still extremely valuable.

While we're at it, fix up some style points:
- s/GLuint/unsigned/g
- s/GLint/int/g
- s/GLshort/int16_t/g
- s/GLushort/uint16_t/g
- s/INLINE/inline/g
- Replace tabs with spaces
- Put return types on a separate line from the function name/parameters
- Remove trailing whitespace
- Remove extraneous whitespace around function parameters

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_eu.h
src/mesa/drivers/dri/i965/brw_reg.h [new file with mode: 0644]