Lines Matching refs:tmu
493 int width = c->textures.tmu[i].texture->surface.width; in primitive_point()
498 int height = c->textures.tmu[i].texture->surface.height; in primitive_point()
705 const int w = c->textures.tmu[i].texture->surface.width; in compute_lod()
706 const int h = c->textures.tmu[i].texture->surface.height; in compute_lod()
722 const texture_t& tmu = c->rasterizer.state.texture[i]; in lerp_texcoords() local
723 if (!tmu.enable) in lerp_texcoords()
734 const GLenum min_filter = c->textures.tmu[i].texture->min_filter; in lerp_texcoords()
738 &c->textures.tmu[i].texture->mip(lod)); in lerp_texcoords()
742 if (tmu.s_wrap == GGL_CLAMP) { in lerp_texcoords()
743 const int width = tmu.surface.width; in lerp_texcoords()
748 if (tmu.t_wrap == GGL_CLAMP) { in lerp_texcoords()
749 const int height = tmu.surface.height; in lerp_texcoords()
779 const texture_t& tmu = c->rasterizer.state.texture[i]; in lerp_texcoords_w() local
780 if (!tmu.enable) in lerp_texcoords_w()
791 const GLenum min_filter = c->textures.tmu[i].texture->min_filter; in lerp_texcoords_w()
795 &c->textures.tmu[i].texture->mip(lod)); in lerp_texcoords_w()
799 if (tmu.s_wrap == GGL_CLAMP) { in lerp_texcoords_w()
800 const int width = tmu.surface.width; in lerp_texcoords_w()
805 if (tmu.t_wrap == GGL_CLAMP) { in lerp_texcoords_w()
806 const int height = tmu.surface.height; in lerp_texcoords_w()