Home | History | Annotate | Download | only in util

Lines Matching refs:tex

461              dst->u.tex.level == src_level &&
462 dst->u.tex.first_layer == srcZ0 &&
503 dst->texture, dst->u.tex.level,
504 dstX0, dstY0, dst->u.tex.first_layer,/* dest */
538 dst_surface->u.tex.level == src_level &&
539 dst_surface->u.tex.first_layer == srcZ0) {
544 struct pipe_resource *tex;
575 tex = screen->resource_create(screen, &texTemp);
576 if (!tex)
587 tex, 0, 0, 0, 0, /* dest */
590 normalized = tex->target != PIPE_TEXTURE_RECT;
604 u_sampler_view_default_template(&sv_templ, tex, tex->format);
607 sv_templ.format = util_format_stencil_only(tex->format);
610 sampler_view = pipe->create_sampler_view(pipe, tex, &sv_templ);
613 pipe_resource_reference(&tex, NULL);
616 pipe_resource_reference(&tex, NULL);
827 struct pipe_resource *tex = src_sampler_view->texture;
832 assert(tex);
833 assert(tex->width0 != 0);
834 assert(tex->height0 != 0);
844 int level = src_sampler_view->u.tex.first_level;
845 float w = (float) u_minify(tex->width0, level);
846 float h = (float) u_minify(tex->height0, level);