summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-06 12:01:11 +0000
committerKeith Whitwell <[email protected]>2009-11-06 12:01:11 +0000
commit1e3910a878e63d7859b205a30e23535d1da67d45 (patch)
tree99febdaed8ef6e526e061d70b357c1fbca9d5ee0 /src
parenta485341455bb270001aad8b39c7b9fa36ac74478 (diff)
i965g: init saturate field in fp dst_reg helper
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i965/brw_wm_fp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_wm_fp.c b/src/gallium/drivers/i965/brw_wm_fp.c
index 74aa02f1983..d27a768a0c5 100644
--- a/src/gallium/drivers/i965/brw_wm_fp.c
+++ b/src/gallium/drivers/i965/brw_wm_fp.c
@@ -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;
}