diff options
author | Francisco Jerez <[email protected]> | 2015-02-04 18:37:46 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-02-10 19:09:25 +0200 |
commit | b40bcd24e0c86fb02c226261c1fe46fb362be217 (patch) | |
tree | 7257887066409699da25054d479e90f928e94da2 /src/mesa/drivers | |
parent | aef83957e1e13ecb96df436d53373ecc4cedeb08 (diff) |
i965/vec4: Don't set any dependency control bits for F32TO16 on Gen8.
It's expanded to several instructions.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 |