Lines Matching refs:properties
271 VkExtensionProperties* properties) { in EnumerateInstanceExtensionProperties() argument
284 if (!properties || *count > kExtensionsCount) in EnumerateInstanceExtensionProperties()
286 if (properties) in EnumerateInstanceExtensionProperties()
287 std::copy(kExtensions, kExtensions + *count, properties); in EnumerateInstanceExtensionProperties()
375 VkExtensionProperties* properties) { in EnumerateDeviceExtensionProperties() argument
391 if (!properties || *count > kExtensionsCount) in EnumerateDeviceExtensionProperties()
393 if (properties) in EnumerateDeviceExtensionProperties()
394 std::copy(kExtensions, kExtensions + *count, properties); in EnumerateDeviceExtensionProperties()
399 VkPhysicalDeviceProperties* properties) { in GetPhysicalDeviceProperties() argument
400 properties->apiVersion = VK_MAKE_VERSION(1, 0, VK_HEADER_VERSION); in GetPhysicalDeviceProperties()
401 properties->driverVersion = VK_MAKE_VERSION(0, 0, 1); in GetPhysicalDeviceProperties()
402 properties->vendorID = 0; in GetPhysicalDeviceProperties()
403 properties->deviceID = 0; in GetPhysicalDeviceProperties()
404 properties->deviceType = VK_PHYSICAL_DEVICE_TYPE_OTHER; in GetPhysicalDeviceProperties()
405 strcpy(properties->deviceName, "Android Vulkan Null Driver"); in GetPhysicalDeviceProperties()
406 memset(properties->pipelineCacheUUID, 0, in GetPhysicalDeviceProperties()
407 sizeof(properties->pipelineCacheUUID)); in GetPhysicalDeviceProperties()
408 properties->limits = VkPhysicalDeviceLimits{ in GetPhysicalDeviceProperties()
526 VkPhysicalDeviceProperties2KHR* properties) { in GetPhysicalDeviceProperties2KHR() argument
527 GetPhysicalDeviceProperties(physical_device, &properties->properties); in GetPhysicalDeviceProperties2KHR()
529 while (properties->pNext) { in GetPhysicalDeviceProperties2KHR()
530 properties = reinterpret_cast<VkPhysicalDeviceProperties2KHR *>(properties->pNext); in GetPhysicalDeviceProperties2KHR()
534 switch ((VkFlags)properties->sType) { in GetPhysicalDeviceProperties2KHR()
537 reinterpret_cast<VkPhysicalDevicePresentationPropertiesANDROID *>(properties); in GetPhysicalDeviceProperties2KHR()
555 VkQueueFamilyProperties* properties) { in GetPhysicalDeviceQueueFamilyProperties() argument
556 if (!properties || *count > 1) in GetPhysicalDeviceQueueFamilyProperties()
558 if (properties && *count == 1) { in GetPhysicalDeviceQueueFamilyProperties()
559 properties->queueFlags = VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT | in GetPhysicalDeviceQueueFamilyProperties()
561 properties->queueCount = 1; in GetPhysicalDeviceQueueFamilyProperties()
562 properties->timestampValidBits = 64; in GetPhysicalDeviceQueueFamilyProperties()
563 properties->minImageTransferGranularity = VkExtent3D{1, 1, 1}; in GetPhysicalDeviceQueueFamilyProperties()
567 …s2KHR(VkPhysicalDevice physical_device, uint32_t* count, VkQueueFamilyProperties2KHR* properties) { in GetPhysicalDeviceQueueFamilyProperties2KHR() argument
570 …GetPhysicalDeviceQueueFamilyProperties(physical_device, count, properties ? &properties->queueFami… in GetPhysicalDeviceQueueFamilyProperties2KHR()
575 VkPhysicalDeviceMemoryProperties* properties) { in GetPhysicalDeviceMemoryProperties() argument
576 properties->memoryTypeCount = 1; in GetPhysicalDeviceMemoryProperties()
577 properties->memoryTypes[0].propertyFlags = in GetPhysicalDeviceMemoryProperties()
582 properties->memoryTypes[0].heapIndex = 0; in GetPhysicalDeviceMemoryProperties()
583 properties->memoryHeapCount = 1; in GetPhysicalDeviceMemoryProperties()
584 properties->memoryHeaps[0].size = kMaxDeviceMemory; in GetPhysicalDeviceMemoryProperties()
585 properties->memoryHeaps[0].flags = VK_MEMORY_HEAP_DEVICE_LOCAL_BIT; in GetPhysicalDeviceMemoryProperties()
588 …roperties2KHR(VkPhysicalDevice physical_device, VkPhysicalDeviceMemoryProperties2KHR* properties) { in GetPhysicalDeviceMemoryProperties2KHR() argument
589 GetPhysicalDeviceMemoryProperties(physical_device, &properties->memoryProperties); in GetPhysicalDeviceMemoryProperties2KHR()