From: Dave Airlie <airl...@redhat.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111511 --- src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c index adb6adf143a..69dba78ac8a 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c @@ -1039,6 +1039,10 @@ lp_build_sample_image_linear(struct lp_build_sample_context *bld, accurate_cube_corners = ACCURATE_CUBE_CORNERS && seamless_cube_filter; + /* disable accurate cube corners for integer textures. */ + if (is_gather && util_format_is_pure_integer(bld->static_texture_state->format)) + accurate_cube_corners = FALSE; + lp_build_extract_image_sizes(bld, &bld->int_size_bld, bld->int_coord_type, -- 2.21.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev