Lines Matching refs:sampler_desc
254 struct pipe_sampler_state sampler_desc; in init_tex() local
361 memset(&sampler_desc, 0, sizeof sampler_desc); in init_tex()
362 sampler_desc.wrap_s = PIPE_TEX_WRAP_REPEAT; in init_tex()
363 sampler_desc.wrap_t = PIPE_TEX_WRAP_REPEAT; in init_tex()
364 sampler_desc.wrap_r = PIPE_TEX_WRAP_REPEAT; in init_tex()
365 sampler_desc.min_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex()
366 sampler_desc.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; in init_tex()
367 sampler_desc.mag_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex()
368 sampler_desc.compare_mode = PIPE_TEX_COMPARE_NONE; in init_tex()
369 sampler_desc.compare_func = 0; in init_tex()
370 sampler_desc.normalized_coords = 1; in init_tex()
371 sampler_desc.max_anisotropy = 0; in init_tex()
373 sampler = ctx->create_sampler_state(ctx, &sampler_desc); in init_tex()