i965: Make brwInitFunctions take brw_context rather than intel_screen.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 27 Sep 2013 21:46:26 +0000 (14:46 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 13 Oct 2013 07:10:44 +0000 (00:10 -0700)
commitf118fc26e14b460e1dfb735892b1627948f592fc
tree440a414f43884a9f1d68610a0e37229927163d8d
parent9848a422879e0b5fef5930bfcb105b01d94f3bab
i965: Make brwInitFunctions take brw_context rather than intel_screen.

It actually just wants generation checking, and brw->gen is the usual
way of doing that.  In the future, we'll also want to check brw->hw_ctx,
which isn't available from the screen.

While we're changing the function signature, convert from camel case to
our usual naming conventions.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_context.c