diff options
author | José Fonseca <[email protected]> | 2010-09-16 11:44:01 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-09-16 20:20:49 +0100 |
commit | 795eb3d64a001a65d677e3168bdd056cc5385b7e (patch) | |
tree | d33d9d2e2b2aa51bf7c20f09c0df8ab90bb58872 /src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c | |
parent | 3d5b9c1f2d3340259dd0d8765090a5a963074f29 (diff) |
gallivm: Start collecting bitwise arithmetic helpers in a new module.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c index 69753d0601f..2d80db6dc9f 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c @@ -45,6 +45,7 @@ #include "lp_bld_const.h" #include "lp_bld_conv.h" #include "lp_bld_arit.h" +#include "lp_bld_bitarit.h" #include "lp_bld_logic.h" #include "lp_bld_swizzle.h" #include "lp_bld_flow.h" @@ -157,7 +158,7 @@ lp_build_sample_texel_soa(struct lp_build_sample_context *bld, * coords which are out of bounds to become zero. Zero's guaranteed * to be inside the texture image. */ - offset = lp_build_andc(&bld->uint_coord_bld, offset, use_border); + offset = lp_build_andnot(&bld->uint_coord_bld, offset, use_border); } lp_build_fetch_rgba_soa(bld->builder, |