mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-20 05:40:39 +02:00
gallivm: disable accurate cube corner for integer textures.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111511 Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
47cc660d9c
commit
a69ae76cc8
1 changed files with 6 additions and 1 deletions
|
|
@ -1037,7 +1037,12 @@ lp_build_sample_image_linear(struct lp_build_sample_context *bld,
|
|||
bld->static_texture_state->target == PIPE_TEXTURE_CUBE_ARRAY) &&
|
||||
bld->static_sampler_state->seamless_cube_map;
|
||||
|
||||
accurate_cube_corners = ACCURATE_CUBE_CORNERS && seamless_cube_filter;
|
||||
/*
|
||||
* Disable accurate cube corners for integer textures, which should only
|
||||
* get here in the gather path.
|
||||
*/
|
||||
accurate_cube_corners = ACCURATE_CUBE_CORNERS && seamless_cube_filter &&
|
||||
!util_format_is_pure_integer(bld->static_texture_state->format);
|
||||
|
||||
lp_build_extract_image_sizes(bld,
|
||||
&bld->int_size_bld,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue