Lines Matching refs:filter0
773 texstate->filter0 = sampler->filter0;
850 texstate->filter0 &= ~R300_TX_WRAP_T_MASK;
851 texstate->filter0 |= R300_TX_WRAP_T(R300_TX_CLAMP_TO_EDGE);
857 texstate->filter0 &= ~R300_TX_WRAP_R_MASK;
863 texstate->filter0 &= ~R300_TX_MIN_FILTER_MIP_MASK;
866 if (texstate->filter0 & R300_TX_WRAP_S(R300_TX_MIRRORED)) {
867 texstate->filter0 &= ~R300_TX_WRAP_S(R300_TX_MIRRORED);
869 if (texstate->filter0 & R300_TX_WRAP_T(R300_TX_MIRRORED)) {
870 texstate->filter0 &= ~R300_TX_WRAP_T(R300_TX_MIRRORED);
875 if ((texstate->filter0 & R300_TX_WRAP_S_MASK) ==
877 texstate->filter0 |= R300_TX_WRAP_S(R300_TX_CLAMP_TO_EDGE);
879 if ((texstate->filter0 & R300_TX_WRAP_T_MASK) ==
881 texstate->filter0 |= R300_TX_WRAP_T(R300_TX_CLAMP_TO_EDGE);
886 texstate->filter0 |= R300_TX_MAX_MIP_LEVEL(min_level);
892 if ((texstate->filter0 & R300_TX_MAG_FILTER_MASK) ==
894 texstate->filter0 &= ~R300_TX_MAG_FILTER_MASK;
895 texstate->filter0 |= R300_TX_MAG_FILTER_NEAREST;
898 if ((texstate->filter0 & R300_TX_MIN_FILTER_MASK) ==
900 texstate->filter0 &= ~R300_TX_MIN_FILTER_MASK;
901 texstate->filter0 |= R300_TX_MIN_FILTER_NEAREST;
904 if ((texstate->filter0 & R300_TX_MIN_FILTER_MIP_MASK) ==
906 texstate->filter0 &= ~R300_TX_MIN_FILTER_MIP_MASK;
907 texstate->filter0 |= R300_TX_MIN_FILTER_MIP_NEAREST;
910 texstate->filter0 &= ~R300_TX_MAX_ANISO_MASK;
915 texstate->filter0 |= i << 28;
937 texstate->filter0 =
945 texstate->filter0 |= i << 28;