瀏覽代碼

vk/0.210.0: Rework QueueFamilyProperties

tags/12.0-branchpoint
Jason Ekstrand 11 年之前
父節點
當前提交
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 },
};
}


Loading…
取消
儲存