Lines Matching refs:sampler_desc
356 struct pipe_sampler_state sampler_desc;
467 memset(&sampler_desc, 0, sizeof sampler_desc);
468 sampler_desc.wrap_s = PIPE_TEX_WRAP_REPEAT;
469 sampler_desc.wrap_t = PIPE_TEX_WRAP_REPEAT;
470 sampler_desc.wrap_r = PIPE_TEX_WRAP_REPEAT;
471 sampler_desc.min_img_filter = PIPE_TEX_FILTER_NEAREST;
472 sampler_desc.min_mip_filter = PIPE_TEX_MIPFILTER_NONE;
473 sampler_desc.mag_img_filter = PIPE_TEX_FILTER_NEAREST;
474 sampler_desc.compare_mode = PIPE_TEX_COMPARE_NONE;
475 sampler_desc.compare_func = 0;
476 sampler_desc.normalized_coords = 1;
477 sampler_desc.max_anisotropy = 0;
479 sampler = ctx->create_sampler_state(ctx, &sampler_desc);