Home | History | Annotate | Download | only in demos

Lines Matching defs:props

117     VkPhysicalDeviceProperties props;
717 vkGetPhysicalDeviceProperties(gpu->obj, &gpu->props);
767 const VkFormatProperties *props = &dev->format_props[fmt];
775 features[0].flags = props->linearTilingFeatures;
777 features[1].flags = props->optimalTilingFeatures;
779 features[2].flags = props->bufferFeatures;
1019 const VkPhysicalDeviceProperties *props = &gpu->props;
1023 printf("\tapiVersion = %u\n", props->apiVersion);
1024 printf("\tdriverVersion = %u\n", props->driverVersion);
1025 printf("\tvendorID = 0x%04x\n", props->vendorID);
1026 printf("\tdeviceID = 0x%04x\n", props->deviceID);
1027 printf("\tdeviceType = %s\n", vk_physical_device_type_string(props->deviceType));
1028 printf("\tdeviceName = %s\n", props->deviceName);
1030 app_dump_limits(&gpu->props.limits);
1031 app_dump_sparse_props(&gpu->props.sparseProperties);
1060 const VkQueueFamilyProperties *props = &gpu->queue_props[id];
1065 (props->queueFlags & VK_QUEUE_GRAPHICS_BIT) ? 'G' : '.',
1066 (props->queueFlags & VK_QUEUE_COMPUTE_BIT) ? 'C' : '.',
1067 (props->queueFlags & VK_QUEUE_TRANSFER_BIT) ? 'D' : '.');
1068 printf("\tqueueCount = %u\n", props->queueCount);
1069 printf("\ttimestampValidBits = %u\n", props->timestampValidBits);
1071 props->minImageTransferGranularity.width,
1072 props->minImageTransferGranularity.height,
1073 props->minImageTransferGranularity.depth);
1078 const VkPhysicalDeviceMemoryProperties *props = &gpu->memory_props;
1082 printf("\tmemoryTypeCount = %u\n", props->memoryTypeCount);
1083 for (uint32_t i = 0; i < props->memoryTypeCount; i++) {
1085 printf("\t\tpropertyFlags = %u\n", props->memoryTypes[i].propertyFlags);
1086 printf("\t\theapIndex = %u\n", props->memoryTypes[i].heapIndex);
1088 printf("\tmemoryHeapCount = %u\n", props->memoryHeapCount);
1089 for (uint32_t i = 0; i < props->memoryHeapCount; i++) {
1092 (size_t)props->memoryHeaps[i].size);