intel/eu: Return new instruction to caller from brw_fb_WRITE().

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Francisco Jerez 2017-01-13 14:16:12 -08:00 committed by Jason Ekstrand
parent c0a1c248b8
commit ed09e78023
2 changed files with 23 additions and 21 deletions

View file

@ -328,16 +328,16 @@ void brw_svb_write(struct brw_codegen *p,
unsigned binding_table_index,
bool send_commit_msg);
void brw_fb_WRITE(struct brw_codegen *p,
struct brw_reg payload,
struct brw_reg implied_header,
unsigned msg_control,
unsigned binding_table_index,
unsigned msg_length,
unsigned response_length,
bool eot,
bool last_render_target,
bool header_present);
brw_inst *brw_fb_WRITE(struct brw_codegen *p,
struct brw_reg payload,
struct brw_reg implied_header,
unsigned msg_control,
unsigned binding_table_index,
unsigned msg_length,
unsigned response_length,
bool eot,
bool last_render_target,
bool header_present);
brw_inst *gen9_fb_READ(struct brw_codegen *p,
struct brw_reg dst,

View file

@ -2285,17 +2285,17 @@ void brw_oword_block_read(struct brw_codegen *p,
brw_pop_insn_state(p);
}
void brw_fb_WRITE(struct brw_codegen *p,
struct brw_reg payload,
struct brw_reg implied_header,
unsigned msg_control,
unsigned binding_table_index,
unsigned msg_length,
unsigned response_length,
bool eot,
bool last_render_target,
bool header_present)
brw_inst *
brw_fb_WRITE(struct brw_codegen *p,
struct brw_reg payload,
struct brw_reg implied_header,
unsigned msg_control,
unsigned binding_table_index,
unsigned msg_length,
unsigned response_length,
bool eot,
bool last_render_target,
bool header_present)
{
const struct gen_device_info *devinfo = p->devinfo;
const unsigned target_cache =
@ -2344,6 +2344,8 @@ void brw_fb_WRITE(struct brw_codegen *p,
response_length,
eot,
0 /* send_commit_msg */);
return insn;
}
brw_inst *