Lines Matching refs:sampler_desc
344 struct pipe_sampler_state sampler_desc; in init_tex() local
451 memset(&sampler_desc, 0, sizeof sampler_desc); in init_tex()
452 sampler_desc.wrap_s = PIPE_TEX_WRAP_REPEAT; in init_tex()
453 sampler_desc.wrap_t = PIPE_TEX_WRAP_REPEAT; in init_tex()
454 sampler_desc.wrap_r = PIPE_TEX_WRAP_REPEAT; in init_tex()
455 sampler_desc.min_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex()
456 sampler_desc.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; in init_tex()
457 sampler_desc.mag_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex()
458 sampler_desc.compare_mode = PIPE_TEX_COMPARE_NONE; in init_tex()
459 sampler_desc.compare_func = 0; in init_tex()
460 sampler_desc.normalized_coords = 1; in init_tex()
461 sampler_desc.max_anisotropy = 0; in init_tex()
463 sampler = ctx->create_sampler_state(ctx, &sampler_desc); in init_tex()