Mesa (master): i965: init dst reg RelAddr field to zero

Brian Paul brianp at kemper.freedesktop.org
Wed Jan 7 17:49:30 PST 2009


Module: Mesa
Branch: master
Commit: 95fa98d61a857448e690a0671b2e1e1d2873f0ec
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=95fa98d61a857448e690a0671b2e1e1d2873f0ec

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan  7 15:06:06 2009 -0700

i965: init dst reg RelAddr field to zero

---

 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 7f7b957..cb1e400 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;
 }
 



More information about the mesa-commit mailing list