• Home
  • Raw
  • Download

Lines Matching refs:samp

60                                 struct gl_sampler_object *samp)  in _mesa_reference_sampler_object_()  argument
62 assert(*ptr != samp); /* The inline wrapper should prevent no-op calls */ in _mesa_reference_sampler_object_()
88 if (samp) { in _mesa_reference_sampler_object_()
91 if (samp->RefCount == 0) { in _mesa_reference_sampler_object_()
98 samp->RefCount++; in _mesa_reference_sampler_object_()
101 (void *) samp, samp->Name, samp->RefCount); in _mesa_reference_sampler_object_()
103 *ptr = samp; in _mesa_reference_sampler_object_()
324 set_sampler_wrap_s(struct gl_context *ctx, struct gl_sampler_object *samp, in set_sampler_wrap_s() argument
327 if (samp->WrapS == param) in set_sampler_wrap_s()
331 samp->WrapS = param; in set_sampler_wrap_s()
339 set_sampler_wrap_t(struct gl_context *ctx, struct gl_sampler_object *samp, in set_sampler_wrap_t() argument
342 if (samp->WrapT == param) in set_sampler_wrap_t()
346 samp->WrapT = param; in set_sampler_wrap_t()
354 set_sampler_wrap_r(struct gl_context *ctx, struct gl_sampler_object *samp, in set_sampler_wrap_r() argument
357 if (samp->WrapR == param) in set_sampler_wrap_r()
361 samp->WrapR = param; in set_sampler_wrap_r()
369 set_sampler_min_filter(struct gl_context *ctx, struct gl_sampler_object *samp, in set_sampler_min_filter() argument
372 if (samp->MinFilter == param) in set_sampler_min_filter()
383 samp->MinFilter = param; in set_sampler_min_filter()
392 set_sampler_mag_filter(struct gl_context *ctx, struct gl_sampler_object *samp, in set_sampler_mag_filter() argument
395 if (samp->MagFilter == param) in set_sampler_mag_filter()
402 samp->MagFilter = param; in set_sampler_mag_filter()
411 set_sampler_lod_bias(struct gl_context *ctx, struct gl_sampler_object *samp, 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()
425 struct gl_sampler_object *samp, in set_sampler_border_colorf() argument
429 samp->BorderColor.f[RCOMP] = params[0]; in set_sampler_border_colorf()
430 samp->BorderColor.f[GCOMP] = params[1]; in set_sampler_border_colorf()
431 samp->BorderColor.f[BCOMP] = params[2]; in set_sampler_border_colorf()
432 samp->BorderColor.f[ACOMP] = params[3]; in set_sampler_border_colorf()
439 struct gl_sampler_object *samp, in set_sampler_border_colori() argument
443 samp->BorderColor.i[RCOMP] = params[0]; in set_sampler_border_colori()
444 samp->BorderColor.i[GCOMP] = params[1]; in set_sampler_border_colori()
445 samp->BorderColor.i[BCOMP] = params[2]; in set_sampler_border_colori()
446 samp->BorderColor.i[ACOMP] = params[3]; in set_sampler_border_colori()
453 struct gl_sampler_object *samp, in set_sampler_border_colorui() argument
457 samp->BorderColor.ui[RCOMP] = params[0]; in set_sampler_border_colorui()
458 samp->BorderColor.ui[GCOMP] = params[1]; in set_sampler_border_colorui()
459 samp->BorderColor.ui[BCOMP] = params[2]; in set_sampler_border_colorui()
460 samp->BorderColor.ui[ACOMP] = params[3]; in set_sampler_border_colorui()
466 set_sampler_min_lod(struct gl_context *ctx, struct gl_sampler_object *samp, 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()
479 set_sampler_max_lod(struct gl_context *ctx, struct gl_sampler_object *samp, 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()
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()
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()
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()
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()
598 samp->sRGBDecode = param; in set_sampler_srgb_decode()