aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-06-07 16:51:07 +1000
committerBen Skeggs <[email protected]>2008-06-29 15:46:15 +1000
commit686bc00c05094e8678747c111a6a70ad4b7063e3 (patch)
tree7046c9c36d638abbd4853a7660c36e63de3a6d62
parentea4b09cbcbd9db82648ab30f18c0f46a66ab9f69 (diff)
nv50: oops, copy+pasto
-rw-r--r--src/gallium/drivers/nv50/nv50_program.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index 79893a9ad4f..b013435f990 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -151,9 +151,9 @@ ctor_immd(struct nv50_pc *pc, float x, float y, float z, float w)
pc->immd_buf = realloc(pc->immd_buf, (pc->immd_nr + 1) * 4 *
sizeof(float));
pc->immd_buf[(pc->immd_nr * 4) + 0] = x;
- pc->immd_buf[(pc->immd_nr * 4) + 1] = x;
- pc->immd_buf[(pc->immd_nr * 4) + 2] = x;
- pc->immd_buf[(pc->immd_nr * 4) + 3] = x;
+ pc->immd_buf[(pc->immd_nr * 4) + 1] = y;
+ pc->immd_buf[(pc->immd_nr * 4) + 2] = z;
+ pc->immd_buf[(pc->immd_nr * 4) + 3] = w;
return pc->immd_nr++;
}