From: Jordan Justen Date: Thu, 11 Jun 2015 16:44:54 +0000 (-0700) Subject: i965/cs: Use exec all for CS terminate X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86b4acb409a2103d6a12f83de7ec04af6cc05fec;p=mesa.git i965/cs: Use exec all for CS terminate This prevents an assertion from being hit with SIMD16: Assertion `inst->exec_size == dispatch_width() || force_writemask_all' failed. Signed-off-by: Jordan Justen Reviewed-by: Francisco Jerez --- diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp index c41284b0a5e..588966b66f1 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp @@ -1948,7 +1948,8 @@ fs_visitor::emit_cs_terminate() bld.exec_all().MOV(payload, g0); /* Send a message to the thread spawner to terminate the thread. */ - fs_inst *inst = bld.emit(CS_OPCODE_CS_TERMINATE, reg_undef, payload); + fs_inst *inst = bld.exec_all() + .emit(CS_OPCODE_CS_TERMINATE, reg_undef, payload); inst->eot = true; }