[Mesa-dev] [PATCH] i965: Placement of brw_set_src1 function definition

Lonnberg, Toni toni.lonnberg at intel.com
Mon Feb 20 13:28:35 UTC 2017


The function definition is now next to where the other similar functions are
defined.
---
 src/mesa/drivers/dri/i965/brw_eu.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_eu.h b/src/mesa/drivers/dri/i965/brw_eu.h
index cd7b9db..99f8f75 100644
--- a/src/mesa/drivers/dri/i965/brw_eu.h
+++ b/src/mesa/drivers/dri/i965/brw_eu.h
@@ -131,6 +131,7 @@ const unsigned *brw_get_program( struct brw_codegen *p, unsigned *sz );
 brw_inst *brw_next_insn(struct brw_codegen *p, unsigned opcode);
 void brw_set_dest(struct brw_codegen *p, brw_inst *insn, struct brw_reg dest);
 void brw_set_src0(struct brw_codegen *p, brw_inst *insn, struct brw_reg reg);
+void brw_set_src1(struct brw_codegen *p, brw_inst *insn, struct brw_reg reg);
 
 void gen6_resolve_implied_move(struct brw_codegen *p,
 			       struct brw_reg *src,
@@ -536,8 +537,6 @@ void brw_math_invert( struct brw_codegen *p,
 		      struct brw_reg dst,
 		      struct brw_reg src);
 
-void brw_set_src1(struct brw_codegen *p, brw_inst *insn, struct brw_reg reg);
-
 void brw_set_uip_jip(struct brw_codegen *p, int start_offset);
 
 enum brw_conditional_mod brw_negate_cmod(uint32_t cmod);
-- 
2.7.4



More information about the mesa-dev mailing list