diff options
author | Kenneth Graunke <[email protected]> | 2011-05-10 16:51:12 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-05-16 13:30:16 -0700 |
commit | 1309d2ea723613f1e755dd7785d22456dd39bb08 (patch) | |
tree | 4540c421be5fec1bd55db1e746e390b458d74425 /src/mesa/drivers/dri/i965/brw_eu.h | |
parent | 2b8e7215eb314aded42d6f13e1f5d6bbae7c7c9c (diff) |
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 <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_eu.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu.h b/src/mesa/drivers/dri/i965/brw_eu.h index 4eb67d57a5a..3243fdf39ac 100644 --- a/src/mesa/drivers/dri/i965/brw_eu.h +++ b/src/mesa/drivers/dri/i965/brw_eu.h @@ -1020,8 +1020,9 @@ void brw_math_invert( struct brw_compile *p, struct brw_reg dst, struct brw_reg src); -void brw_set_src1( struct brw_instruction *insn, - struct brw_reg reg ); +void brw_set_src1(struct brw_compile *p, + struct brw_instruction *insn, + struct brw_reg reg); void brw_set_uip_jip(struct brw_compile *p); |