projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea4b09c
)
nv50: oops, copy+pasto
author
Ben Skeggs
<skeggsb@gmail.com>
Sat, 7 Jun 2008 06:51:07 +0000
(16:51 +1000)
committer
Ben Skeggs
<skeggsb@gmail.com>
Sun, 29 Jun 2008 05:46:15 +0000
(15:46 +1000)
src/gallium/drivers/nv50/nv50_program.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv50/nv50_program.c
b/src/gallium/drivers/nv50/nv50_program.c
index 79893a9ad4f9352e7b8c6af584f24b472c1bb436..b013435f990cdf385689b9d762cd4184cf5867e2 100644
(file)
--- 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++;
}