From: Marek Olšák Date: Sat, 15 Oct 2016 12:49:19 +0000 (+0200) Subject: radeonsi/gfx9: sampler state changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0aae4f47641c6ac2aa1dd24a6a534cb00b797f89;p=mesa.git radeonsi/gfx9: sampler state changes Reviewed-by: Nicolai Hähnle --- diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 6bc7ca4c6ce..9d208f81c79 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -3289,7 +3289,7 @@ static void *si_create_sampler_state(struct pipe_context *ctx, S_008F38_XY_MIN_FILTER(eg_tex_filter(state->min_img_filter, max_aniso)) | S_008F38_MIP_FILTER(si_tex_mipfilter(state->min_mip_filter)) | S_008F38_MIP_POINT_PRECLAMP(1) | - S_008F38_DISABLE_LSB_CEIL(1) | + S_008F38_DISABLE_LSB_CEIL(sctx->b.chip_class <= VI) | S_008F38_FILTER_PREC_FIX(1) | S_008F38_ANISO_OVERRIDE(sctx->b.chip_class >= VI)); rstate->val[3] = S_008F3C_BORDER_COLOR_PTR(border_color_index) |