From: Francisco Jerez Date: Wed, 4 Feb 2015 16:37:46 +0000 (+0200) Subject: i965/vec4: Don't set any dependency control bits for F32TO16 on Gen8. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b40bcd24e0c86fb02c226261c1fe46fb362be217;p=mesa.git i965/vec4: Don't set any dependency control bits for F32TO16 on Gen8. It's expanded to several instructions. Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp index be5f8f4384c..ee740520e2b 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp @@ -868,6 +868,11 @@ vec4_visitor::is_dep_ctrl_unsafe(const vec4_instruction *inst) } #undef IS_DWORD + if (brw->gen >= 8) { + if (inst->opcode == BRW_OPCODE_F32TO16) + return true; + } + /* * mlen: * In the presence of send messages, totally interrupt dependency