summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiang, Haihao <[email protected]>2010-12-24 09:24:08 +0800
committerXiang, Haihao <[email protected]>2010-12-24 09:51:22 +0800
commit82493216044b0320219fc631baa7b02381daa0de (patch)
tree218f339e2d2b73309caf763c7cfc193a9c015de1
parent1039f36c47bf8c5db93b1d39c912c86fc3b1eb2f (diff)
i965: fix register region description
This fixes brw_eu_emit.c:179: validate_reg: Assertion `width == 1' failed.
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c
index 326bb1e562f..a64188afc56 100644
--- a/src/mesa/drivers/dri/i965/brw_vs_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c
@@ -1136,7 +1136,7 @@ get_constant(struct brw_vs_compile *c,
}
/* replicate lower four floats into upper half (to get XYZWXYZW) */
- const_reg = stride(const_reg, 0, 4, 0);
+ const_reg = stride(const_reg, 0, 4, 1);
const_reg.subnr = 0;
return const_reg;