Lines Matching refs:sampler_desc
292 struct pipe_sampler_state sampler_desc;
403 memset(&sampler_desc, 0, sizeof sampler_desc);
404 sampler_desc.wrap_s = PIPE_TEX_WRAP_REPEAT;
405 sampler_desc.wrap_t = PIPE_TEX_WRAP_REPEAT;
406 sampler_desc.wrap_r = PIPE_TEX_WRAP_REPEAT;
407 sampler_desc.min_img_filter = PIPE_TEX_FILTER_NEAREST;
408 sampler_desc.min_mip_filter = PIPE_TEX_MIPFILTER_NONE;
409 sampler_desc.mag_img_filter = PIPE_TEX_FILTER_NEAREST;
410 sampler_desc.compare_mode = PIPE_TEX_COMPARE_NONE;
411 sampler_desc.compare_func = 0;
412 sampler_desc.normalized_coords = 1;
413 sampler_desc.max_anisotropy = 0;
415 sampler = ctx->create_sampler_state(ctx, &sampler_desc);