i965/vec4: Don't set any dependency control bits for F32TO16 on Gen8.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 4 Feb 2015 16:37:46 +0000 (18:37 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 10 Feb 2015 17:09:25 +0000 (19:09 +0200)
It's expanded to several instructions.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4.cpp

index be5f8f4384c7d13bc9ca63eb35cd383f153779aa..ee740520e2b0dced2a5e39786ba2bb136ecc9db2 100644 (file)
@@ -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