Browse Source

vk/0.210.0: Rework QueueFamilyProperties

tags/12.0-branchpoint
Jason Ekstrand 11 years ago
parent
commit
74c4c4acb6
2 changed files with 4 additions and 2 deletions
  1. 2
    1
      include/vulkan/vulkan.h
  2. 2
    1
      src/vulkan/anv_device.c

+ 2
- 1
include/vulkan/vulkan.h View File

@@ -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 View File

@@ -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…
Cancel
Save