From: Brian Paul Date: Wed, 7 Jan 2009 22:06:06 +0000 (-0700) Subject: i965: init dst reg RelAddr field to zero X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95fa98d61a857448e690a0671b2e1e1d2873f0ec;p=mesa.git i965: init dst reg RelAddr field to zero --- diff --git a/src/mesa/drivers/dri/i965/brw_wm_fp.c b/src/mesa/drivers/dri/i965/brw_wm_fp.c index 7f7b957cbe8..cb1e40097bd 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_fp.c +++ b/src/mesa/drivers/dri/i965/brw_wm_fp.c @@ -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; }