Fill in type of null register to match Mesa.
authorEric Anholt <eric@anholt.net>
Tue, 22 Aug 2006 22:21:44 +0000 (15:21 -0700)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 4 Mar 2013 15:54:21 +0000 (15:54 +0000)
assembler/gram.y

index e0384e5..6dc252e 100644 (file)
@@ -256,6 +256,8 @@ dstoperandex:       accreg dstregion regtype
                  $$.bits1.da1.dest_reg_file = $1.reg_file;
                  $$.bits1.da1.dest_reg_nr = $1.reg_nr;
                  $$.bits1.da1.dest_subreg_nr = $1.subreg_nr;
+                 $$.bits1.da1.dest_horiz_stride = 1;
+                 $$.bits1.da1.dest_reg_type = BRW_REGISTER_TYPE_F;
                }
 ;