i965: Use brw->gen in some generation checks.
authorMatt Turner <mattst88@gmail.com>
Wed, 11 Jun 2014 00:44:56 +0000 (17:44 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 12 Jun 2014 03:57:10 +0000 (20:57 -0700)
commit2c8520c03de135228c37d67c9ff9756e3febb660
treec306ca38cdd86fa8e126128cceda40a56bc156ab
parentf51a7e00da25e25bd84e0f49df0a7423dbfd4acf
i965: Use brw->gen in some generation checks.

Will simplify the automated conversion if we want to allow compiling the
driver for a single generation.

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_eu.c
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_shader.h