Lines Matching defs:info
141 const VkPhysicalDeviceImageFormatInfo2 *info,
151 enum pipe_format format = vk_format_to_pipe_format(info->format);
153 get_format_properties(physical_device, info->format, &format_props);
155 switch (info->tiling) {
184 if (info->type != VK_IMAGE_TYPE_2D &&
188 switch (info->type) {
214 if (info->tiling == VK_IMAGE_TILING_OPTIMAL &&
215 info->type == VK_IMAGE_TYPE_2D &&
219 !(info->flags & VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT) &&
220 !(info->usage & VK_IMAGE_USAGE_STORAGE_BIT)) {
224 if (info->usage & VK_IMAGE_USAGE_SAMPLED_BIT) {
230 if (info->usage & VK_IMAGE_USAGE_STORAGE_BIT) {
236 if (info->usage & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT) {
242 if (info->usage & VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT) {
289 const VkPhysicalDeviceImageFormatInfo2 info = {
299 return get_image_format_properties(physical_device, &info,