Lines Matching refs:Sampler
292 if (texObj->Sampler.MinFilter == params[0]) in set_tex_parameteri()
298 texObj->Sampler.MinFilter = params[0]; in set_tex_parameteri()
307 texObj->Sampler.MinFilter = params[0]; in set_tex_parameteri()
320 if (texObj->Sampler.MagFilter == params[0]) in set_tex_parameteri()
326 texObj->Sampler.MagFilter = params[0]; in set_tex_parameteri()
337 if (texObj->Sampler.WrapS == params[0]) in set_tex_parameteri()
341 texObj->Sampler.WrapS = params[0]; in set_tex_parameteri()
350 if (texObj->Sampler.WrapT == params[0]) in set_tex_parameteri()
354 texObj->Sampler.WrapT = params[0]; in set_tex_parameteri()
363 if (texObj->Sampler.WrapR == params[0]) in set_tex_parameteri()
367 texObj->Sampler.WrapR = params[0]; in set_tex_parameteri()
463 if (texObj->Sampler.CompareMode == params[0]) in set_tex_parameteri()
468 texObj->Sampler.CompareMode = params[0]; in set_tex_parameteri()
482 if (texObj->Sampler.CompareFunc == params[0]) in set_tex_parameteri()
494 texObj->Sampler.CompareFunc = params[0]; in set_tex_parameteri()
597 if (texObj->Sampler.sRGBDecode != decode) { in set_tex_parameteri()
599 texObj->Sampler.sRGBDecode = decode; in set_tex_parameteri()
617 if (param != texObj->Sampler.CubeMapSeamless) { in set_tex_parameteri()
619 texObj->Sampler.CubeMapSeamless = param; in set_tex_parameteri()
691 if (texObj->Sampler.MinLod == params[0]) in set_tex_parameterf()
694 texObj->Sampler.MinLod = params[0]; in set_tex_parameterf()
704 if (texObj->Sampler.MaxLod == params[0]) in set_tex_parameterf()
707 texObj->Sampler.MaxLod = params[0]; in set_tex_parameterf()
723 if (texObj->Sampler.MaxAnisotropy == params[0]) in set_tex_parameterf()
732 texObj->Sampler.MaxAnisotropy = MIN2(params[0], in set_tex_parameterf()
751 if (texObj->Sampler.LodBias != params[0]) { in set_tex_parameterf()
753 texObj->Sampler.LodBias = params[0]; in set_tex_parameterf()
777 texObj->Sampler.BorderColor.f[RCOMP] = params[0]; in set_tex_parameterf()
778 texObj->Sampler.BorderColor.f[GCOMP] = params[1]; in set_tex_parameterf()
779 texObj->Sampler.BorderColor.f[BCOMP] = params[2]; in set_tex_parameterf()
780 texObj->Sampler.BorderColor.f[ACOMP] = params[3]; in set_tex_parameterf()
782 texObj->Sampler.BorderColor.f[RCOMP] = CLAMP(params[0], 0.0F, 1.0F); in set_tex_parameterf()
783 texObj->Sampler.BorderColor.f[GCOMP] = CLAMP(params[1], 0.0F, 1.0F); in set_tex_parameterf()
784 texObj->Sampler.BorderColor.f[BCOMP] = CLAMP(params[2], 0.0F, 1.0F); in set_tex_parameterf()
785 texObj->Sampler.BorderColor.f[ACOMP] = CLAMP(params[3], 0.0F, 1.0F); in set_tex_parameterf()
1044 COPY_4V(texObj->Sampler.BorderColor.i, params); in _mesa_texture_parameterIiv()
1072 COPY_4V(texObj->Sampler.BorderColor.ui, params); in _mesa_texture_parameterIuiv()
1825 *params = ENUM_TO_FLOAT(obj->Sampler.MagFilter); in get_tex_parameterfv()
1828 *params = ENUM_TO_FLOAT(obj->Sampler.MinFilter); in get_tex_parameterfv()
1831 *params = ENUM_TO_FLOAT(obj->Sampler.WrapS); in get_tex_parameterfv()
1834 *params = ENUM_TO_FLOAT(obj->Sampler.WrapT); in get_tex_parameterfv()
1837 *params = ENUM_TO_FLOAT(obj->Sampler.WrapR); in get_tex_parameterfv()
1847 params[0] = CLAMP(obj->Sampler.BorderColor.f[0], 0.0F, 1.0F); in get_tex_parameterfv()
1848 params[1] = CLAMP(obj->Sampler.BorderColor.f[1], 0.0F, 1.0F); in get_tex_parameterfv()
1849 params[2] = CLAMP(obj->Sampler.BorderColor.f[2], 0.0F, 1.0F); in get_tex_parameterfv()
1850 params[3] = CLAMP(obj->Sampler.BorderColor.f[3], 0.0F, 1.0F); in get_tex_parameterfv()
1853 params[0] = obj->Sampler.BorderColor.f[0]; in get_tex_parameterfv()
1854 params[1] = obj->Sampler.BorderColor.f[1]; in get_tex_parameterfv()
1855 params[2] = obj->Sampler.BorderColor.f[2]; in get_tex_parameterfv()
1856 params[3] = obj->Sampler.BorderColor.f[3]; in get_tex_parameterfv()
1875 *params = obj->Sampler.MinLod; in get_tex_parameterfv()
1881 *params = obj->Sampler.MaxLod; in get_tex_parameterfv()
1895 *params = obj->Sampler.MaxAnisotropy; in get_tex_parameterfv()
1907 *params = (GLfloat) obj->Sampler.CompareMode; in get_tex_parameterfv()
1913 *params = (GLfloat) obj->Sampler.CompareFunc; in get_tex_parameterfv()
1933 *params = obj->Sampler.LodBias; in get_tex_parameterfv()
1974 *params = (GLfloat) obj->Sampler.CubeMapSeamless; in get_tex_parameterfv()
2022 *params = (GLfloat) obj->Sampler.sRGBDecode; in get_tex_parameterfv()
2066 *params = (GLint) obj->Sampler.MagFilter; in get_tex_parameteriv()
2069 *params = (GLint) obj->Sampler.MinFilter; in get_tex_parameteriv()
2072 *params = (GLint) obj->Sampler.WrapS; in get_tex_parameteriv()
2075 *params = (GLint) obj->Sampler.WrapT; in get_tex_parameteriv()
2078 *params = (GLint) obj->Sampler.WrapR; in get_tex_parameteriv()
2087 b[0] = CLAMP(obj->Sampler.BorderColor.f[0], 0.0F, 1.0F); in get_tex_parameteriv()
2088 b[1] = CLAMP(obj->Sampler.BorderColor.f[1], 0.0F, 1.0F); in get_tex_parameteriv()
2089 b[2] = CLAMP(obj->Sampler.BorderColor.f[2], 0.0F, 1.0F); in get_tex_parameteriv()
2090 b[3] = CLAMP(obj->Sampler.BorderColor.f[3], 0.0F, 1.0F); in get_tex_parameteriv()
2115 *params = IROUND(obj->Sampler.MinLod); in get_tex_parameteriv()
2123 *params = IROUND(obj->Sampler.MaxLod); in get_tex_parameteriv()
2140 *params = IROUND(obj->Sampler.MaxAnisotropy); in get_tex_parameteriv()
2152 *params = (GLint) obj->Sampler.CompareMode; in get_tex_parameteriv()
2158 *params = (GLint) obj->Sampler.CompareFunc; in get_tex_parameteriv()
2178 *params = IROUND(obj->Sampler.LodBias); in get_tex_parameteriv()
2212 *params = (GLint) obj->Sampler.CubeMapSeamless; in get_tex_parameteriv()
2260 *params = obj->Sampler.sRGBDecode; in get_tex_parameteriv()
2302 COPY_4V(params, obj->Sampler.BorderColor.i); in get_tex_parameterIiv()