summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2015-06-11 09:44:54 -0700
committerJordan Justen <jordan.l.justen@intel.com>2015-06-12 15:12:39 -0700
commit86b4acb409a2103d6a12f83de7ec04af6cc05fec (patch)
treec608d198fd74506631fd7781133b693a34b91216 /src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
parentcfc175b40995ca4e590cd30897f6bb017e1376a3 (diff)
downloadexternal_mesa3d-86b4acb409a2103d6a12f83de7ec04af6cc05fec.zip
external_mesa3d-86b4acb409a2103d6a12f83de7ec04af6cc05fec.tar.gz
external_mesa3d-86b4acb409a2103d6a12f83de7ec04af6cc05fec.tar.bz2
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 <jordan.l.justen@intel.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_visitor.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_visitor.cpp3
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 c41284b..588966b 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;
}