From b40bcd24e0c86fb02c226261c1fe46fb362be217 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Wed, 4 Feb 2015 18:37:46 +0200 Subject: [PATCH] i965/vec4: Don't set any dependency control bits for F32TO16 on Gen8. It's expanded to several instructions. Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_vec4.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.30.2