i965: init dst reg RelAddr field to zero
authorBrian Paul <brianp@vmware.com>
Wed, 7 Jan 2009 22:06:06 +0000 (15:06 -0700)
committerAlan Hourihane <alanh@vmware.com>
Fri, 9 Jan 2009 11:16:37 +0000 (11:16 +0000)
src/mesa/drivers/dri/i965/brw_wm_fp.c

index 7f7b957cbe892bfde9c390c55f4ecc44e4780d38..cb1e40097bd678c11b1ebd003861c8625c9a6f07 100644 (file)
@@ -122,10 +122,11 @@ static struct prog_dst_register dst_reg(GLuint file, GLuint idx)
    reg.File = file;
    reg.Index = idx;
    reg.WriteMask = WRITEMASK_XYZW;
+   reg.RelAddr = 0;
    reg.CondMask = 0;
    reg.CondSwizzle = 0;
-   reg.pad = 0;
    reg.CondSrc = 0;
+   reg.pad = 0;
    return reg;
 }