diff options
author | Jordan Justen <[email protected]> | 2015-06-11 09:44:54 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2015-06-12 15:12:39 -0700 |
commit | 86b4acb409a2103d6a12f83de7ec04af6cc05fec (patch) | |
tree | c608d198fd74506631fd7781133b693a34b91216 | |
parent | cfc175b40995ca4e590cd30897f6bb017e1376a3 (diff) |
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 <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |