aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-08-02 16:59:20 -0700
committerEric Anholt <[email protected]>2010-08-02 17:47:35 -0700
commitb10bb527eaf39378da25dd4ad21b1c68ceaa1e2d (patch)
tree1dae7a503fb3c0f4ad382b9be7edda55a5be41d2 /src/mesa/drivers/dri
parent26675e37bc5a086c6df77946d2dada34dc9129f0 (diff)
Initialize a couple of HasIndex2 fields on Mesa IR src regs.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_fp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_fp.c b/src/mesa/drivers/dri/i965/brw_wm_fp.c
index 0bef874b887..df9e54c6b4e 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_fp.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_fp.c
@@ -88,6 +88,7 @@ static struct prog_src_register src_reg(GLuint file, GLuint idx)
reg.RelAddr = 0;
reg.Negate = NEGATE_NONE;
reg.Abs = 0;
+ reg.HasIndex2 = 0;
return reg;
}