diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index a9c200c6657..47b386a599a 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -595,7 +595,8 @@ static void *evergreen_create_sampler_state(struct pipe_context *ctx, * MIP_FILTER will also be set to NONE. However, if more then one LOD is * configured, then the texture lookup seems to fail for some specific texture * formats. Forcing the number of LODs to one in this case fixes it. */ - if (state->min_mip_filter == PIPE_TEX_MIPFILTER_NONE) + if (state->min_mip_filter == PIPE_TEX_MIPFILTER_NONE && + state->mag_img_filter == state->min_img_filter) max_lod = state->min_lod; ss->border_color_use = sampler_state_needs_border_color(state);