Home | History | Annotate | Download | only in vl

Lines Matching refs:sampler

163    struct ureg_src tc[2], sampler;
175 sampler = ureg_DECL_sampler(shader, 0);
192 * fragment.xyz = tex(ref, sampler[0])
214 ureg_TEX(shader, ureg_writemask(fragment, TGSI_WRITEMASK_XYZ), TGSI_TEXTURE_2D, ureg_src(ref), sampler);
333 * fragment.xyz = tex(tc, sampler) * scale + tc.z
374 struct pipe_sampler_state sampler;
381 memset(&sampler, 0, sizeof(sampler));
382 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
383 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
384 sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_BORDER;
385 sampler.min_img_filter = PIPE_TEX_FILTER_LINEAR;
386 sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE;
387 sampler.mag_img_filter = PIPE_TEX_FILTER_LINEAR;
388 sampler.compare_mode = PIPE_TEX_COMPARE_NONE;
389 sampler.compare_func = PIPE_FUNC_ALWAYS;
390 sampler.normalized_coords = 1;
391 r->sampler_ref = r->pipe->create_sampler_state(r->pipe, &sampler);