i965: Pass brw_compile pointer to brw_set_src[01].
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 10 May 2011 23:51:12 +0000 (16:51 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 16 May 2011 20:30:16 +0000 (13:30 -0700)
commit1309d2ea723613f1e755dd7785d22456dd39bb08
tree4540c421be5fec1bd55db1e746e390b458d74425
parent2b8e7215eb314aded42d6f13e1f5d6bbae7c7c9c
i965: Pass brw_compile pointer to brw_set_src[01].

This makes it symmetric with brw_set_dest, which is convenient, and will
also allow for assertions to be made based off of intel->gen.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_eu.c
src/mesa/drivers/dri/i965/brw_eu.h
src/mesa/drivers/dri/i965/brw_eu_emit.c