Lines Matching defs:layout
142 * layout validation required by
612 * * On a transition from UNDEFINED or PREINITIALIZED to a defined layout,
1022 * For simplicity's sake, we do not validate free-form layout of the image's
1023 * memory bindings. We validate the layout described in the comments of struct
1283 * a bad plane layout. However, the spec does require
1286 * Most validation of plane layout occurs in add_surface().
1387 * because we might internally use the TRANSFER_SRC layout on them for
1467 /* In case of AHardwareBuffer import, we don't know the layout yet */
1999 VkSubresourceLayout* layout)
2059 layout->offset = surface->memory_range.offset;
2060 layout->rowPitch = surface->isl.row_pitch_B;
2061 layout->depthPitch = isl_surf_get_array_pitch(&surface->isl);
2062 layout->arrayPitch = isl_surf_get_array_pitch(&surface->isl);
2073 layout->offset += offset_B;
2074 layout->size = layout->rowPitch * anv_minify(image->vk.extent.height,
2078 layout->size = surface->memory_range.size;
2090 * @param layout The current layout of the image aspect(s).
2092 * @return The primary buffer that should be used for the given layout.
2098 const VkImageLayout layout)
2105 /* The layout of a NULL image is not properly defined. */
2123 switch (layout) {
2126 unreachable("Invalid image layout.");
2130 * The pre-initialized layout is equivalent to the undefined layout for
2171 const bool read_only = vk_image_layout_is_read_only(layout, aspect);
2176 vk_image_layout_to_usage_flags(layout, aspect) & image_aspect_usage;
2250 if (layout == VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL) {
2294 * @param layout The current layout of the image aspect(s).
2296 * @return The primary buffer that should be used for the given layout.
2303 const VkImageLayout layout)
2314 anv_layout_to_aux_state(devinfo, image, aspect, layout);
2335 assert(vk_image_layout_is_read_only(layout, aspect));
2363 * @param layout The current layout of the image aspect(s).
2369 const VkImageLayout layout)
2387 anv_layout_to_aux_state(devinfo, image, aspect, layout);
2397 } else if (layout == VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL) {