Home | History | Annotate | Download | only in util

Lines Matching defs:templat

109    struct pipe_resource templat, *tex;
111 memset(&templat, 0, sizeof(templat));
112 templat.target = PIPE_TEXTURE_2D;
113 templat.format = PIPE_FORMAT_A8_UNORM;
114 templat.last_level = 0;
115 templat.width0 = 32;
116 templat.height0 = 32;
117 templat.depth0 = 1;
118 templat.array_size = 1;
119 templat.bind = PIPE_BIND_SAMPLER_VIEW;
121 tex = screen->resource_create(screen, &templat);
137 struct pipe_sampler_view templat, *sv;
139 u_sampler_view_default_template(&templat, tex, tex->format);
140 sv = pipe->create_sampler_view(pipe, tex, &templat);
152 struct pipe_sampler_state templat;
155 memset(&templat, 0, sizeof(templat));
156 templat.wrap_s = PIPE_TEX_WRAP_REPEAT;
157 templat.wrap_t = PIPE_TEX_WRAP_REPEAT;
158 templat.wrap_r = PIPE_TEX_WRAP_REPEAT;
159 templat.min_mip_filter = PIPE_TEX_MIPFILTER_NONE;
160 templat.min_img_filter = PIPE_TEX_FILTER_NEAREST;
161 templat.mag_img_filter = PIPE_TEX_FILTER_NEAREST;
162 templat.normalized_coords = 1;
163 templat.min_lod = 0.0f;
164 templat.max_lod = 0.0f;
166 s = pipe->create_sampler_state(pipe, &templat);