Lines Matching defs:sampler
116 struct ureg_src sampler, bool resource3d)
118 ureg_TEX(shader, m[0], resource3d ? TGSI_TEXTURE_3D : TGSI_TEXTURE_2D, addr[0], sampler);
119 ureg_TEX(shader, m[1], resource3d ? TGSI_TEXTURE_3D : TGSI_TEXTURE_2D, addr[1], sampler);
510 struct pipe_sampler_state sampler;
546 memset(&sampler, 0, sizeof(sampler));
547 sampler.wrap_s = PIPE_TEX_WRAP_REPEAT;
548 sampler.wrap_t = PIPE_TEX_WRAP_REPEAT;
549 sampler.wrap_r = PIPE_TEX_WRAP_REPEAT;
550 sampler.min_img_filter = PIPE_TEX_FILTER_NEAREST;
551 sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE;
552 sampler.mag_img_filter = PIPE_TEX_FILTER_NEAREST;
553 sampler.compare_mode = PIPE_TEX_COMPARE_NONE;
554 sampler.compare_func = PIPE_FUNC_ALWAYS;
555 sampler.normalized_coords = 1;
556 idct->samplers[i] = idct->pipe->create_sampler_state(idct->pipe, &sampler);