Home
last modified time | relevance | path

Searched refs:WrapS (Results 1 – 17 of 17) sorted by relevance

/third_party/mesa3d/src/mesa/swrast/
Ds_texfilter.c518 *i = clamp_rect_coord_nearest(samp->Attrib.WrapS, texcoord[0], width); in nearest_texcoord()
523 *i = nearest_texel_location(samp->Attrib.WrapS, img, width, texcoord[0]); in nearest_texcoord()
528 *i = nearest_texel_location(samp->Attrib.WrapS, img, width, texcoord[0]); in nearest_texcoord()
533 *i = nearest_texel_location(samp->Attrib.WrapS, img, width, texcoord[0]); in nearest_texcoord()
538 *i = nearest_texel_location(samp->Attrib.WrapS, img, width, texcoord[0]); in nearest_texcoord()
568 clamp_rect_coord_linear(samp->Attrib.WrapS, texcoord[0], in linear_texcoord()
577 linear_texel_locations(samp->Attrib.WrapS, img, width, in linear_texcoord()
585 linear_texel_locations(samp->Attrib.WrapS, img, width, in linear_texcoord()
593 linear_texel_locations(samp->Attrib.WrapS, img, width, in linear_texcoord()
858 i = nearest_texel_location(samp->Attrib.WrapS, img, width, texcoord[0]); in sample_1d_nearest()
[all …]
Ds_triangle.c1077 && samp->Attrib.WrapS == GL_REPEAT in _swrast_choose_triangle()
/third_party/mesa3d/src/mesa/main/
Dsamplerobj.c120 sampObj->Attrib.WrapS = GL_REPEAT; in _mesa_init_sampler_object()
542 if (samp->Attrib.WrapS == s && samp->Attrib.WrapT == t && samp->Attrib.WrapR == r) in _mesa_set_sampler_wrap()
546 samp->Attrib.WrapS = s; in _mesa_set_sampler_wrap()
569 if (samp->Attrib.WrapS == param) in set_sampler_wrap_s()
573 if (is_wrap_gl_clamp(samp->Attrib.WrapS) != is_wrap_gl_clamp(param)) in set_sampler_wrap_s()
575 samp->Attrib.WrapS = param; in set_sampler_wrap_s()
1503 *params = sampObj->Attrib.WrapS; in _mesa_GetSamplerParameteriv()
1601 *params = (GLfloat) sampObj->Attrib.WrapS; in _mesa_GetSamplerParameterfv()
1679 *params = sampObj->Attrib.WrapS; in _mesa_GetSamplerParameterIiv()
1757 *params = sampObj->Attrib.WrapS; in _mesa_GetSamplerParameterIuiv()
Dsamplerobj.h251 samp->Attrib.WrapS, clamp_to_border); in _mesa_lower_gl_clamp()
Dtexparam.c335 if (texObj->Sampler.Attrib.WrapS == params[0]) in set_tex_parameteri()
339 if (is_wrap_gl_clamp(texObj->Sampler.Attrib.WrapS) != is_wrap_gl_clamp(params[0])) in set_tex_parameteri()
341 texObj->Sampler.Attrib.WrapS = params[0]; in set_tex_parameteri()
2217 *params = ENUM_TO_FLOAT(obj->Sampler.Attrib.WrapS); in get_tex_parameterfv()
2462 *params = (GLint) obj->Sampler.Attrib.WrapS; in get_tex_parameteriv()
Dtexobj.c335 obj->Sampler.Attrib.WrapS = GL_CLAMP_TO_EDGE; in _mesa_initialize_texture_object()
346 obj->Sampler.Attrib.WrapS = GL_REPEAT; in _mesa_initialize_texture_object()
417 obj->Sampler.Attrib.WrapS = GL_CLAMP_TO_EDGE; in finish_texture_init()
Dmtypes.h905 GLenum16 WrapS; /**< S-axis texture image wrap mode */ member
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_state_tex.c202 | nvgl_wrap_mode_nv20(sa->Attrib.WrapS) << 0; in nv20_emit_tex_obj()
208 | nvgl_wrap_mode_nv20(sa->Attrib.WrapS) << 0; in nv20_emit_tex_obj()
Dnv04_state_tex.c89 nvgl_wrap_mode(sa->Attrib.WrapS) << 24 | in nv04_emit_tex_obj()
Dnv10_state_tex.c185 | nvgl_wrap_mode(sa->Attrib.WrapS) << 24 in nv10_emit_tex_obj()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tex.c320 radeonSetTexWrap(t, samp->Attrib.WrapS, samp->Attrib.WrapT); in radeonTexUpdateParameters()
422 radeonSetTexWrap( t, t->base.Sampler.Attrib.WrapS, t->base.Sampler.Attrib.WrapT ); in radeonNewTextureObject()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tex.c370 r200SetTexWrap(t, samp->Attrib.WrapS, samp->Attrib.WrapT, samp->Attrib.WrapR); in r200TexUpdateParameters()
483 …r200SetTexWrap( t, t->base.Sampler.Attrib.WrapS, t->base.Sampler.Attrib.WrapT, t->base.Sampler.Att… in r200NewTextureObject()
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Di830_texstate.c284 GLenum ws = sampler->Attrib.WrapS; in i830_update_tex_unit()
Di915_texstate.c289 GLenum ws = sampler->Attrib.WrapS; in i915_update_tex_unit()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_shader.c105 if (is_wrap_gl_clamp(msamp->Attrib.WrapS)) in update_gl_clamp()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm.c236 if (sampler->Attrib.WrapS == GL_CLAMP) in brw_populate_sampler_prog_key_data()
DgenX_state_upload.c5260 unsigned wrap_s = translate_wrap_mode(sampler->Attrib.WrapS, either_nearest);