Lines Matching defs:tmpl
454 const struct pipe_resource *tmpl)
461 *prsc = *tmpl;
467 rsc->cpp = util_format_get_blocksize(tmpl->format);
498 const struct pipe_resource *tmpl,
503 struct vc4_resource *rsc = vc4_resource_setup(pscreen, tmpl);
510 if (tmpl->target == PIPE_BUFFER)
514 if (tmpl->nr_samples > 1)
518 if (screen->ro && (tmpl->bind & PIPE_BIND_SCANOUT))
523 if (tmpl->bind & (PIPE_BIND_LINEAR | PIPE_BIND_CURSOR))
530 if ((tmpl->bind & (PIPE_BIND_SHARED | PIPE_BIND_SCANOUT)) &&
537 if ((tmpl->bind & (PIPE_BIND_SHARED |
556 if (tmpl->target != PIPE_BUFFER)
586 ((tmpl->bind & PIPE_BIND_SCANOUT) ||
595 (tmpl->bind & PIPE_BIND_SCANOUT) ? "scanout " : "",
596 tmpl->width0, tmpl->height0,
607 const struct pipe_resource *tmpl)
610 return vc4_resource_create_with_modifiers(pscreen, tmpl, &mod, 1);
615 const struct pipe_resource *tmpl,
620 struct vc4_resource *rsc = vc4_resource_setup(pscreen, tmpl);