radeonsi/gfx9: sampler state changes
authorMarek Olšák <marek.olsak@amd.com>
Sat, 15 Oct 2016 12:49:19 +0000 (14:49 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 30 Mar 2017 12:44:33 +0000 (14:44 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state.c

index 6bc7ca4c6ce3b439bc3ce004072a4b09324aed41..9d208f81c793474ba80b0594dce0f3cb80348bb3 100644 (file)
@@ -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) |