Lines Matching refs:tmu
492 int width = c->textures.tmu[i].texture->surface.width; in primitive_point()
497 int height = c->textures.tmu[i].texture->surface.height; in primitive_point()
704 const int w = c->textures.tmu[i].texture->surface.width; in compute_lod()
705 const int h = c->textures.tmu[i].texture->surface.height; in compute_lod()
721 const texture_t& tmu = c->rasterizer.state.texture[i]; in lerp_texcoords() local
722 if (!tmu.enable) in lerp_texcoords()
733 const GLenum min_filter = c->textures.tmu[i].texture->min_filter; in lerp_texcoords()
737 &c->textures.tmu[i].texture->mip(lod)); in lerp_texcoords()
741 if (tmu.s_wrap == GGL_CLAMP) { in lerp_texcoords()
742 const int width = tmu.surface.width; in lerp_texcoords()
747 if (tmu.t_wrap == GGL_CLAMP) { in lerp_texcoords()
748 const int height = tmu.surface.height; in lerp_texcoords()
778 const texture_t& tmu = c->rasterizer.state.texture[i]; in lerp_texcoords_w() local
779 if (!tmu.enable) in lerp_texcoords_w()
790 const GLenum min_filter = c->textures.tmu[i].texture->min_filter; in lerp_texcoords_w()
794 &c->textures.tmu[i].texture->mip(lod)); in lerp_texcoords_w()
798 if (tmu.s_wrap == GGL_CLAMP) { in lerp_texcoords_w()
799 const int width = tmu.surface.width; in lerp_texcoords_w()
804 if (tmu.t_wrap == GGL_CLAMP) { in lerp_texcoords_w()
805 const int height = tmu.surface.height; in lerp_texcoords_w()