Lines Matching defs:templ
772 struct pipe_resource *tmp, templ;
788 memset(&templ, 0, sizeof(templ));
789 templ.target = PIPE_TEXTURE_2D;
790 templ.format = info->src.resource->format;
791 templ.width0 = info->src.resource->width0;
792 templ.height0 = info->src.resource->height0;
793 templ.depth0 = 1;
794 templ.array_size = 1;
795 templ.usage = PIPE_USAGE_DEFAULT;
796 templ.flags = R300_RESOURCE_FORCE_MICROTILING;
798 tmp = screen->resource_create(screen, &templ);