Lines Matching refs:usage
591 VkImageUsageFlags usage =
613 .Format = dzn_image_get_dxgi_format(format, usage, aspects),
622 if (usage != VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT)
737 * B4G4R4A4, but that forces us to limit the usage to sampling, which,
801 (info->usage & ~(VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT)))
823 if ((info->usage & VK_IMAGE_USAGE_SAMPLED_BIT) &&
827 if ((info->usage & VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT) &&
831 if ((info->usage & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT) &&
835 if ((info->usage & VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT) &&
839 if ((info->usage & VK_IMAGE_USAGE_STORAGE_BIT) &&
905 !(info->usage & VK_IMAGE_USAGE_STORAGE_BIT)) {
951 VkImageUsageFlags usage,
960 .usage = usage,
978 VkImageUsageFlags usage,
2485 buf->usage = pCreateInfo->usage;
2487 if (buf->usage & VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT)
2502 if (buf->usage &
2645 if (buffer->usage & VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT) {