Lines Matching refs:texture

395     array_t const * const texcoordArray = c->arrays.texture;  in fetch_texcoord_impl()
398 if (!(c->rasterizer.state.texture[i].enable)) in fetch_texcoord_impl()
410 vec4_t& coords = v->texture[i]; in fetch_texcoord_impl()
417 const transform_t& tr = c->transforms.texture[i].transform; in fetch_texcoord_impl()
487 if (!c->rasterizer.state.texture[i].enable) in primitive_point()
492 if (c->rasterizer.state.texture[i].s_wrap == GGL_CLAMP) { in primitive_point()
493 int width = c->textures.tmu[i].texture->surface.width; in primitive_point()
494 itt[0] = v->texture[i].S * width; in primitive_point()
497 if (c->rasterizer.state.texture[i].t_wrap == GGL_CLAMP) { in primitive_point()
498 int height = c->textures.tmu[i].texture->surface.height; in primitive_point()
499 itt[3] = v->texture[i].T * 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()
727 int32_t s0 = v0->texture[i].S; in lerp_texcoords()
728 int32_t t0 = v0->texture[i].T; in lerp_texcoords()
729 int32_t s1 = v1->texture[i].S; in lerp_texcoords()
730 int32_t t1 = v1->texture[i].T; in lerp_texcoords()
731 int32_t s2 = v2->texture[i].S; in lerp_texcoords()
732 int32_t t2 = v2->texture[i].T; 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()
779 const texture_t& tmu = c->rasterizer.state.texture[i]; in lerp_texcoords_w()
784 int32_t s0 = v0->texture[i].S; in lerp_texcoords_w()
785 int32_t t0 = v0->texture[i].T; in lerp_texcoords_w()
786 int32_t s1 = v1->texture[i].S; in lerp_texcoords_w()
787 int32_t t1 = v1->texture[i].T; in lerp_texcoords_w()
788 int32_t s2 = v2->texture[i].S; in lerp_texcoords_w()
789 int32_t t2 = v2->texture[i].T; 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()