Mesa (i965g-restart): i965g: init saturate field in fp dst_reg helper
Keith Whitwell
keithw at kemper.freedesktop.org
Fri Nov 6 13:28:44 UTC 2009
Module: Mesa
Branch: i965g-restart
Commit: 1e3910a878e63d7859b205a30e23535d1da67d45
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e3910a878e63d7859b205a30e23535d1da67d45
Author: Keith Whitwell <keithw at vmware.com>
Date: Fri Nov 6 12:01:11 2009 +0000
i965g: init saturate field in fp dst_reg helper
---
src/gallium/drivers/i965/brw_wm_fp.c | 1 +
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 74aa02f..d27a768 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;
}
More information about the mesa-commit
mailing list