Lines Matching refs:tx
135 const texture_t& tx = c->state.texture[i];
136 if (tx.enable) {
138 t |= GGL_BUILD_NEEDS(tx.surface.format, T_FORMAT);
139 t |= GGL_BUILD_NEEDS(ggl_env_to_needs(tx.env), T_ENV);
141 if (tx.s_coord==GGL_ONE_TO_ONE && tx.t_coord==GGL_ONE_TO_ONE) {
146 t |= GGL_BUILD_NEEDS(ggl_wrap_to_needs(tx.s_wrap), T_S_WRAP);
147 t |= GGL_BUILD_NEEDS(ggl_wrap_to_needs(tx.t_wrap), T_T_WRAP);
149 if (tx.mag_filter == GGL_LINEAR) {
152 if (tx.min_filter == GGL_LINEAR) {