intel: Replace IS_G4X() across the driver with context structure usage.
authorEric Anholt <eric@anholt.net>
Wed, 16 Dec 2009 23:22:26 +0000 (15:22 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 22 Dec 2009 22:20:26 +0000 (14:20 -0800)
commit0b87f143c466f7e5bd730895ee29f1cd20a68f9b
treebcba66a53e3f80aca37ece435e627582fdea1f6e
parent1c96e85c9d6b8c636b0636f3320d1057ab5357b3
intel: Replace IS_G4X() across the driver with context structure usage.

Saves ~2KB of code.
16 files changed:
src/mesa/drivers/dri/i965/brw_clip_state.c
src/mesa/drivers/dri/i965/brw_clip_util.c
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_fallback.c
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/brw_urb.c
src/mesa/drivers/dri/i965/brw_vs_state.c
src/mesa/drivers/dri/i965/brw_wm_emit.c
src/mesa/drivers/dri/i965/brw_wm_state.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_context.h
src/mesa/drivers/dri/intel/intel_tex_format.c