Просмотр исходного кода

vk/0.210.0: Rework QueueFamilyProperties

tags/12.0-branchpoint
Jason Ekstrand 11 лет назад
Родитель
Сommit
74c4c4acb6
2 измененных файлов: 4 добавлений и 2 удалений
  1. 2
    1
      include/vulkan/vulkan.h
  2. 2
    1
      src/vulkan/anv_device.c

+ 2
- 1
include/vulkan/vulkan.h Просмотреть файл

@@ -1311,7 +1311,8 @@ typedef struct VkPhysicalDeviceProperties {
typedef struct VkQueueFamilyProperties {
VkQueueFlags queueFlags;
uint32_t queueCount;
VkBool32 supportsTimestamps;
uint32_t timestampValidBits;
VkExtent3D minImageTransferGranularity;
} VkQueueFamilyProperties;

typedef struct VkMemoryType {

+ 2
- 1
src/vulkan/anv_device.c Просмотреть файл

@@ -511,7 +511,8 @@ void anv_GetPhysicalDeviceQueueFamilyProperties(
VK_QUEUE_COMPUTE_BIT |
VK_QUEUE_TRANSFER_BIT,
.queueCount = 1,
.supportsTimestamps = true,
.timestampValidBits = 0, /* XXX: Real value here */
.minImageTransferGranularity = (VkExtent3D) { 1, 1, 1 },
};
}


Загрузка…
Отмена
Сохранить