Lines Matching refs:sampler_desc
243 struct pipe_sampler_state sampler_desc;
354 memset(&sampler_desc, 0, sizeof sampler_desc);
355 sampler_desc.wrap_s = PIPE_TEX_WRAP_REPEAT;
356 sampler_desc.wrap_t = PIPE_TEX_WRAP_REPEAT;
357 sampler_desc.wrap_r = PIPE_TEX_WRAP_REPEAT;
358 sampler_desc.min_img_filter = PIPE_TEX_FILTER_NEAREST;
359 sampler_desc.min_mip_filter = PIPE_TEX_MIPFILTER_NONE;
360 sampler_desc.mag_img_filter = PIPE_TEX_FILTER_NEAREST;
361 sampler_desc.compare_mode = PIPE_TEX_COMPARE_NONE;
362 sampler_desc.compare_func = 0;
363 sampler_desc.normalized_coords = 1;
364 sampler_desc.max_anisotropy = 0;
366 sampler = ctx->create_sampler_state(ctx, &sampler_desc);