[Mesa-dev] [PATCH 31/32] i965/vec4: Don't set any dependency control bits for F32TO16 on Gen8.
Francisco Jerez
currojerez at riseup.net
Fri Feb 6 06:43:11 PST 2015
It's expanded to several instructions.
---
src/mesa/drivers/dri/i965/brw_vec4.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index ed35c4b..85b9162f 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -865,6 +865,9 @@ vec4_visitor::is_dep_ctrl_unsafe(const vec4_instruction *inst)
IS_DWORD(inst->src[0]) &&
IS_DWORD(inst->src[1]))
return true;
+
+ if (inst->opcode == BRW_OPCODE_F32TO16)
+ return true;
}
#undef IS_DWORD
--
2.1.3
More information about the mesa-dev
mailing list