i965g: init saturate field in fp dst_reg helper
authorKeith Whitwell <keithw@vmware.com>
Fri, 6 Nov 2009 12:01:11 +0000 (12:01 +0000)
committerKeith Whitwell <keithw@vmware.com>
Fri, 6 Nov 2009 12:01:11 +0000 (12:01 +0000)
src/gallium/drivers/i965/brw_wm_fp.c

index 74aa02f..d27a768 100644 (file)
@@ -223,6 +223,7 @@ static struct brw_fp_dst dst_reg(GLuint file, GLuint idx)
    reg.index = idx;
    reg.writemask = BRW_WRITEMASK_XYZW;
    reg.indirect = 0;
+   reg.saturate = 0;
    return reg;
 }