Lines Matching defs:pipe
41 wrap_mode(unsigned pipe)
45 switch (pipe) {
128 nv30_sampler_state_create(struct pipe_context *pipe,
131 struct nouveau_object *eng3d = nv30_context(pipe)->screen->eng3d;
139 so->pipe = *cso;
167 so->wrap |= nv30_context(pipe)->config.aniso;
184 nv30_sampler_state_delete(struct pipe_context *pipe, void *hwcso)
201 nv30_sampler_view_create(struct pipe_context *pipe, struct pipe_resource *pt,
204 const struct nv30_texfmt *fmt = nv30_texfmt(pipe->screen, tmpl->format);
205 struct nouveau_object *eng3d = nv30_context(pipe)->screen->eng3d;
212 so->pipe = *tmpl;
213 so->pipe.reference.count = 1;
214 so->pipe.texture = NULL;
215 so->pipe.context = pipe;
216 pipe_resource_reference(&so->pipe.texture, pt);
286 so->base_lod = so->pipe.u.tex.first_level << 8;
287 so->high_lod = MIN2(pt->last_level, so->pipe.u.tex.last_level) << 8;
288 return &so->pipe;
292 nv30_sampler_view_destroy(struct pipe_context *pipe,
300 nv30_texture_init(struct pipe_context *pipe)
302 pipe->create_sampler_state = nv30_sampler_state_create;
303 pipe->delete_sampler_state = nv30_sampler_state_delete;
304 pipe->create_sampler_view = nv30_sampler_view_create;
305 pipe->sampler_view_destroy = nv30_sampler_view_destroy;