Lines Matching refs:param

325                    GLint param)  in set_sampler_wrap_s()  argument
327 if (samp->WrapS == param) in set_sampler_wrap_s()
329 if (validate_texture_wrap_mode(ctx, param)) { in set_sampler_wrap_s()
331 samp->WrapS = param; in set_sampler_wrap_s()
340 GLint param) in set_sampler_wrap_t() argument
342 if (samp->WrapT == param) in set_sampler_wrap_t()
344 if (validate_texture_wrap_mode(ctx, param)) { in set_sampler_wrap_t()
346 samp->WrapT = param; in set_sampler_wrap_t()
355 GLint param) in set_sampler_wrap_r() argument
357 if (samp->WrapR == param) in set_sampler_wrap_r()
359 if (validate_texture_wrap_mode(ctx, param)) { in set_sampler_wrap_r()
361 samp->WrapR = param; in set_sampler_wrap_r()
370 GLint param) in set_sampler_min_filter() argument
372 if (samp->MinFilter == param) in set_sampler_min_filter()
375 switch (param) { in set_sampler_min_filter()
383 samp->MinFilter = param; in set_sampler_min_filter()
393 GLint param) in set_sampler_mag_filter() argument
395 if (samp->MagFilter == param) in set_sampler_mag_filter()
398 switch (param) { in set_sampler_mag_filter()
402 samp->MagFilter = param; in set_sampler_mag_filter()
412 GLfloat param) in set_sampler_lod_bias() argument
414 if (samp->LodBias == param) in set_sampler_lod_bias()
418 samp->LodBias = param; in set_sampler_lod_bias()
467 GLfloat param) in set_sampler_min_lod() argument
469 if (samp->MinLod == param) in set_sampler_min_lod()
473 samp->MinLod = param; in set_sampler_min_lod()
480 GLfloat param) in set_sampler_max_lod() argument
482 if (samp->MaxLod == param) in set_sampler_max_lod()
486 samp->MaxLod = param; in set_sampler_max_lod()
493 struct gl_sampler_object *samp, GLint param) in set_sampler_compare_mode() argument
498 if (samp->CompareMode == param) in set_sampler_compare_mode()
501 if (param == GL_NONE || in set_sampler_compare_mode()
502 param == GL_COMPARE_R_TO_TEXTURE_ARB) { in set_sampler_compare_mode()
504 samp->CompareMode = param; in set_sampler_compare_mode()
514 struct gl_sampler_object *samp, GLint param) in set_sampler_compare_func() argument
519 if (samp->CompareFunc == param) in set_sampler_compare_func()
522 switch (param) { in set_sampler_compare_func()
526 samp->CompareFunc = param; in set_sampler_compare_func()
536 samp->CompareFunc = param; in set_sampler_compare_func()
548 struct gl_sampler_object *samp, GLfloat param) in set_sampler_max_anisotropy() argument
553 if (samp->MaxAnisotropy == param) in set_sampler_max_anisotropy()
556 if (param < 1.0) in set_sampler_max_anisotropy()
561 samp->MaxAnisotropy = MIN2(param, ctx->Const.MaxTextureMaxAnisotropy); in set_sampler_max_anisotropy()
568 struct gl_sampler_object *samp, GLboolean param) in set_sampler_cube_map_seamless() argument
573 if (samp->CubeMapSeamless == param) in set_sampler_cube_map_seamless()
576 if (param != GL_TRUE && param != GL_FALSE) in set_sampler_cube_map_seamless()
580 samp->CubeMapSeamless = param; in set_sampler_cube_map_seamless()
586 struct gl_sampler_object *samp, GLenum param) in set_sampler_srgb_decode() argument
591 if (samp->sRGBDecode == param) in set_sampler_srgb_decode()
594 if (param != GL_DECODE_EXT && param != GL_SKIP_DECODE_EXT) in set_sampler_srgb_decode()
598 samp->sRGBDecode = param; in set_sampler_srgb_decode()
603 _mesa_SamplerParameteri(GLuint sampler, GLenum pname, GLint param) in _mesa_SamplerParameteri() argument
618 res = set_sampler_wrap_s(ctx, sampObj, param); in _mesa_SamplerParameteri()
621 res = set_sampler_wrap_t(ctx, sampObj, param); in _mesa_SamplerParameteri()
624 res = set_sampler_wrap_r(ctx, sampObj, param); in _mesa_SamplerParameteri()
627 res = set_sampler_min_filter(ctx, sampObj, param); in _mesa_SamplerParameteri()
630 res = set_sampler_mag_filter(ctx, sampObj, param); in _mesa_SamplerParameteri()
633 res = set_sampler_min_lod(ctx, sampObj, (GLfloat) param); in _mesa_SamplerParameteri()
636 res = set_sampler_max_lod(ctx, sampObj, (GLfloat) param); in _mesa_SamplerParameteri()
639 res = set_sampler_lod_bias(ctx, sampObj, (GLfloat) param); in _mesa_SamplerParameteri()
642 res = set_sampler_compare_mode(ctx, sampObj, param); in _mesa_SamplerParameteri()
645 res = set_sampler_compare_func(ctx, sampObj, param); in _mesa_SamplerParameteri()
648 res = set_sampler_max_anisotropy(ctx, sampObj, (GLfloat) param); in _mesa_SamplerParameteri()
651 res = set_sampler_cube_map_seamless(ctx, sampObj, param); in _mesa_SamplerParameteri()
654 res = set_sampler_srgb_decode(ctx, sampObj, param); in _mesa_SamplerParameteri()
675 param); in _mesa_SamplerParameteri()
679 param); in _mesa_SamplerParameteri()
688 _mesa_SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) in _mesa_SamplerParameterf() argument
705 res = set_sampler_wrap_s(ctx, sampObj, (GLint) param); in _mesa_SamplerParameterf()
708 res = set_sampler_wrap_t(ctx, sampObj, (GLint) param); in _mesa_SamplerParameterf()
711 res = set_sampler_wrap_r(ctx, sampObj, (GLint) param); in _mesa_SamplerParameterf()
714 res = set_sampler_min_filter(ctx, sampObj, (GLint) param); in _mesa_SamplerParameterf()
717 res = set_sampler_mag_filter(ctx, sampObj, (GLint) param); in _mesa_SamplerParameterf()
720 res = set_sampler_min_lod(ctx, sampObj, param); in _mesa_SamplerParameterf()
723 res = set_sampler_max_lod(ctx, sampObj, param); in _mesa_SamplerParameterf()
726 res = set_sampler_lod_bias(ctx, sampObj, param); in _mesa_SamplerParameterf()
729 res = set_sampler_compare_mode(ctx, sampObj, (GLint) param); in _mesa_SamplerParameterf()
732 res = set_sampler_compare_func(ctx, sampObj, (GLint) param); in _mesa_SamplerParameterf()
735 res = set_sampler_max_anisotropy(ctx, sampObj, param); in _mesa_SamplerParameterf()
738 res = set_sampler_cube_map_seamless(ctx, sampObj, (GLboolean) param); in _mesa_SamplerParameterf()
741 res = set_sampler_srgb_decode(ctx, sampObj, (GLenum) param); in _mesa_SamplerParameterf()
762 param); in _mesa_SamplerParameterf()
766 param); in _mesa_SamplerParameterf()