diff options
author | Matt Turner <[email protected]> | 2015-10-29 10:29:55 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-10-29 17:51:16 -0700 |
commit | 8c4151b866181198cb850137a6b65052e79554b1 (patch) | |
tree | 4811073313899241cccf74cea763553e72d9852c | |
parent | 9115fa1d132b3ed38180f05c303f9190cde23878 (diff) |
i965/fs: Use group(4, 0) to emit an exec-size 4 MOV.
Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 5a82b041370..c40ca9177ec 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -2642,8 +2642,9 @@ fs_visitor::emit_repclear_shader() int base_mrf = 1; int color_mrf = base_mrf + 2; - fs_inst *mov = bld.exec_all().MOV(vec4(brw_message_reg(color_mrf)), - fs_reg(UNIFORM, 0, BRW_REGISTER_TYPE_F)); + fs_inst *mov = bld.exec_all().group(4, 0) + .MOV(brw_message_reg(color_mrf), + fs_reg(UNIFORM, 0, BRW_REGISTER_TYPE_F)); fs_inst *write; if (key->nr_color_regions == 1) { |