i965/fs: Clean up reg_undef args from long ago lack of fs_inst overloads.
authorEric Anholt <eric@anholt.net>
Sun, 13 Mar 2011 08:25:36 +0000 (00:25 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 24 Mar 2011 18:31:36 +0000 (11:31 -0700)
src/mesa/drivers/dri/i965/brw_fs.cpp

index 1651eea0f03fdb2e267bdfba09bbb3e27bc79049..cdc9926c81cf322325eabee8ce8d24158cd6d752 100644 (file)
@@ -2078,7 +2078,7 @@ fs_visitor::emit_fb_writes()
       if (this->frag_color)
         color.reg_offset -= 4;
 
-      fs_inst *inst = emit(FS_OPCODE_FB_WRITE, reg_undef, reg_undef);
+      fs_inst *inst = emit(FS_OPCODE_FB_WRITE);
       inst->target = target;
       inst->base_mrf = 0;
       inst->mlen = nr;
@@ -2097,7 +2097,7 @@ fs_visitor::emit_fb_writes()
         emit(BRW_OPCODE_MOV, fs_reg(MRF, color_mrf + 3), color);
       }
 
-      fs_inst *inst = emit(FS_OPCODE_FB_WRITE, reg_undef, reg_undef);
+      fs_inst *inst = emit(FS_OPCODE_FB_WRITE);
       inst->base_mrf = 0;
       inst->mlen = nr;
       inst->eot = true;