freedreno/a3xx: fix typo mixup w/ mipfilter
authorRob Clark <robclark@freedesktop.org>
Thu, 19 Sep 2013 14:28:52 +0000 (10:28 -0400)
committerRob Clark <robclark@freedesktop.org>
Thu, 19 Sep 2013 15:47:40 +0000 (11:47 -0400)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_texture.c

index a44ac46beb1a3bb4f601fa883c24f77e2024e23a..88b3f8eaab5bc83efa8de8669072ac955df1274a 100644 (file)
@@ -85,7 +85,7 @@ fd3_sampler_state_create(struct pipe_context *pctx,
        if (!so)
                return NULL;
 
-       if (cso->min_mip_filter == PIPE_TEX_MIPFILTER_NEAREST)
+       if (cso->min_mip_filter == PIPE_TEX_MIPFILTER_LINEAR)
                miplinear = true;
 
        so->base = *cso;