i965/fs: Use group(4, 0) to emit an exec-size 4 MOV.
authorMatt Turner <mattst88@gmail.com>
Thu, 29 Oct 2015 17:29:55 +0000 (10:29 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 30 Oct 2015 00:51:16 +0000 (17:51 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp

index 5a82b041370910b287fdaed6414bb61ed9569c68..c40ca9177ec971360ba7b154fb25978a76bea36c 100644 (file)
@@ -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) {