Home
last modified time | relevance | path

Searched refs:explicit_layout (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/panfrost/lib/
Dpan_layout.c308 const struct pan_image_explicit_layout *explicit_layout) in pan_image_layout_init() argument
313 if (explicit_layout && in pan_image_layout_init()
325 if (explicit_layout && in pan_image_layout_init()
326 !(pan_is_stride_aligned(layout->format, explicit_layout->offset) && in pan_image_layout_init()
327 pan_is_stride_aligned(layout->format, explicit_layout->row_stride))) in pan_image_layout_init()
342 unsigned offset = explicit_layout ? explicit_layout->offset : 0; in pan_image_layout_init()
374 if (explicit_layout && !afbc) { in pan_image_layout_init()
376 if (explicit_layout->row_stride < row_stride) in pan_image_layout_init()
379 row_stride = explicit_layout->row_stride; in pan_image_layout_init()
404 if (explicit_layout && explicit_layout->row_stride < slice->row_stride) in pan_image_layout_init()
[all …]
Dpan_texture.h240 const struct pan_image_explicit_layout *explicit_layout);
/third_party/mesa3d/src/freedreno/fdl/
Dfd6_layout.c107 bool is_3d, struct fdl_explicit_layout *explicit_layout) in fdl6_layout() argument
159 if (!explicit_layout) in fdl6_layout()
168 if (explicit_layout) { in fdl6_layout()
169 offset = explicit_layout->offset; in fdl6_layout()
170 layout->pitch0 = explicit_layout->pitch; in fdl6_layout()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_resource.c87 struct pan_image_explicit_layout explicit_layout = { in panfrost_resource_from_handle() local
105 bool valid = pan_image_layout_init(&rsc->image.layout, &explicit_layout); in panfrost_resource_from_handle()