Lines Matching defs:buffer_info
799 VkBufferCreateInfo buffer_info = {};
800 buffer_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO;
801 buffer_info.size = upload_size;
802 buffer_info.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT;
803 buffer_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE;
804 VK_CHECK(device_data->vtable.CreateBuffer(device_data->device, &buffer_info,
903 VkBufferCreateInfo buffer_info = {};
904 buffer_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO;
905 buffer_info.size = new_size;
906 buffer_info.usage = usage;
907 buffer_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE;
908 VK_CHECK(data->vtable.CreateBuffer(data->device, &buffer_info, NULL, buffer));