i965: Move inst_info from brw_eu_validate.c to brw_eu.c.
authorMatt Turner <mattst88@gmail.com>
Fri, 29 Apr 2016 23:07:44 +0000 (16:07 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 4 May 2016 05:33:42 +0000 (22:33 -0700)
commitd01596613b6b7831a3c6a596108a83340f8bf657
tree8558b08c704b6880cf337c1e2e916ca23bc59518
parent1530e27534831a8d1c82e0a82fe15cd9c70e61e6
i965: Move inst_info from brw_eu_validate.c to brw_eu.c.

Drop the uses of 'enum gen' to a plain int, so that we don't have to
expose the bitfield definitions and GEN_GE/GEN_LE macros to other users
of brw_eu.h. As a result, s/.gen/.gens/ to avoid confusion with
devinfo->gen.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_eu.c
src/mesa/drivers/dri/i965/brw_eu.h
src/mesa/drivers/dri/i965/brw_eu_validate.c