diff options
author | Brian Paul <brianp@vmware.com> | 2009-01-07 15:06:06 -0700 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2009-01-08 16:36:42 +0800 |
commit | 796dd4b717136ebe20a144ab15e20a0b75972543 (patch) | |
tree | d77dc2b0a9bbfa724b8b398d415c4a976c59a104 | |
parent | 9ae22a4a2ae4d7f10463d7b85233dc569b7cfb40 (diff) |
i965: init dst reg RelAddr field to zero
(cherry picked from commit 95fa98d61a857448e690a0671b2e1e1d2873f0ec)
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_fp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_fp.c b/src/mesa/drivers/dri/i965/brw_wm_fp.c index 7f7b957cbe..cb1e40097b 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; } |