Lines Matching refs:sampler_desc
170 struct pipe_sampler_state sampler_desc; in init_tex() local
276 memset(&sampler_desc, 0, sizeof sampler_desc); in init_tex()
277 sampler_desc.wrap_s = PIPE_TEX_WRAP_REPEAT; in init_tex()
278 sampler_desc.wrap_t = PIPE_TEX_WRAP_REPEAT; in init_tex()
279 sampler_desc.wrap_r = PIPE_TEX_WRAP_REPEAT; in init_tex()
280 sampler_desc.min_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex()
281 sampler_desc.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; in init_tex()
282 sampler_desc.mag_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex()
283 sampler_desc.compare_mode = PIPE_TEX_COMPARE_NONE; in init_tex()
284 sampler_desc.compare_func = 0; in init_tex()
285 sampler_desc.normalized_coords = 1; in init_tex()
286 sampler_desc.max_anisotropy = 0; in init_tex()
288 sampler = ctx->create_sampler_state(ctx, &sampler_desc); in init_tex()