projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73c6657
)
llvmpipe: fix typo in the depth sampling aos code.
author
Dave Airlie
<airlied@redhat.com>
Sun, 6 Nov 2011 20:55:25 +0000
(20:55 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Sun, 6 Nov 2011 22:32:04 +0000
(22:32 +0000)
Just found by reading llvmpipe code for no great reason.
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c
b/src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c
index b215f3806f4e47ce7798230c9ed7e030f9f29032..423f290e04b3e20e05311224a334c86444adb48f 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c
@@
-353,7
+353,7
@@
lp_build_sample_image_nearest(struct lp_build_sample_context *bld,
lp_build_sample_wrap_nearest_int(bld,
1, /* block length (depth) */
r_ipart, depth_vec, img_stride_vec,
- bld->static_state->pot_
height
,
+ bld->static_state->pot_
depth
,
bld->static_state->wrap_r,
&z_offset, &z_subcoord);
offset = lp_build_add(&bld->int_coord_bld, offset, z_offset);