Lines Matching refs:mod_info
1515 const struct VkImageDrmFormatModifierExplicitCreateInfoEXT *mod_info, in radv_image_create_layout() argument
1527 assert(!mod_info || mod_info->drmFormatModifierPlaneCount >= image->plane_count); in radv_image_create_layout()
1551 if (create_info.bo_metadata && !mod_info && in radv_image_create_layout()
1559 !mod_info) in radv_image_create_layout()
1562 if (mod_info) { in radv_image_create_layout()
1563 if (mod_info->pPlaneLayouts[plane].rowPitch % image->planes[plane].surface.bpe || in radv_image_create_layout()
1564 !mod_info->pPlaneLayouts[plane].rowPitch) in radv_image_create_layout()
1567 offset = mod_info->pPlaneLayouts[plane].offset; in radv_image_create_layout()
1568 stride = mod_info->pPlaneLayouts[plane].rowPitch / image->planes[plane].surface.bpe; in radv_image_create_layout()
1580 if (image->plane_count == 1 && mod_info) { in radv_image_create_layout()
1582 if (mod_info->drmFormatModifierPlaneCount != mem_planes) in radv_image_create_layout()
1588 0) != mod_info->pPlaneLayouts[i].offset) in radv_image_create_layout()