i965/vs: Drop the assertion about dst.reg_offset == 0.
authorEric Anholt <eric@anholt.net>
Sat, 6 Aug 2011 02:31:53 +0000 (19:31 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 16 Aug 2011 20:04:42 +0000 (13:04 -0700)
Adding the offset is the right thing to do here, and fixes
glsl-vs-mat-add-1.

src/mesa/drivers/dri/i965/brw_vec4_emit.cpp

index be08936..a41c58c 100644 (file)
@@ -146,7 +146,6 @@ vec4_instruction::get_dst(void)
 
    switch (dst.file) {
    case GRF:
-      assert(dst.reg_offset == 0);
       brw_reg = brw_vec8_grf(dst.reg + dst.reg_offset, 0);
       brw_reg = retype(brw_reg, dst.type);
       brw_reg.dw1.bits.writemask = dst.writemask;