Lines Matching refs:tmpl
197 const struct pipe_resource *tmpl) in is_rs_align() argument
201 !etna_resource_sampler_only(tmpl)); in is_rs_align()
433 struct pipe_resource tmpl = *templat; in etna_resource_create_modifiers() local
443 tmpl.bind |= PIPE_BIND_SCANOUT; in etna_resource_create_modifiers()
445 return etna_resource_alloc(pscreen, modifier_to_layout(modifier), modifier, &tmpl); in etna_resource_create_modifiers()
488 const struct pipe_resource *tmpl, in etna_resource_from_handle() argument
498 tmpl->target, util_format_name(tmpl->format), tmpl->width0, in etna_resource_from_handle()
499 tmpl->height0, tmpl->depth0, tmpl->array_size, tmpl->last_level, in etna_resource_from_handle()
500 tmpl->nr_samples, tmpl->usage, tmpl->bind, tmpl->flags); in etna_resource_from_handle()
509 *prsc = *tmpl; in etna_resource_from_handle()
526 level->width = tmpl->width0; in etna_resource_from_handle()
527 level->height = tmpl->height0; in etna_resource_from_handle()
528 level->depth = tmpl->depth0; in etna_resource_from_handle()
535 is_rs_align(screen, tmpl), in etna_resource_from_handle()
550 if (level->stride < util_format_get_stride(tmpl->format, level->padded_width)) { in etna_resource_from_handle()
552 level->stride, util_format_get_stride(tmpl->format, level->padded_width), in etna_resource_from_handle()
553 util_format_name(tmpl->format)); in etna_resource_from_handle()
559 util_format_name(tmpl->format)); in etna_resource_from_handle()