From 5286ef7849d5699636a84169da3cfe6ba3b86a29 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 18 May 2015 10:17:53 -0700 Subject: [PATCH] vk: Provide more realistic values for device info --- src/vulkan/device.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/vulkan/device.c b/src/vulkan/device.c index 49b268a3739..b3fa69015c1 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -202,11 +202,11 @@ VkResult anv_GetPhysicalDeviceInfo( properties->deviceType = VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU; strcpy(properties->deviceName, device->name); properties->maxInlineMemoryUpdateSize = 0; - properties->maxBoundDescriptorSets = 0; - properties->maxThreadGroupSize = 0; + properties->maxBoundDescriptorSets = MAX_SETS; + properties->maxThreadGroupSize = 512; properties->timestampFrequency = 1000 * 1000 * 1000 / ns_per_tick; - properties->multiColorAttachmentClears = 0; - properties->maxDescriptorSets = 2; + properties->multiColorAttachmentClears = true; + properties->maxDescriptorSets = 8; properties->maxViewports = 16; properties->maxColorAttachments = 8; return VK_SUCCESS; @@ -235,8 +235,8 @@ VkResult anv_GetPhysicalDeviceInfo( queue_properties->queueFlags = 0; queue_properties->queueCount = 1; queue_properties->maxAtomicCounters = 0; - queue_properties->supportsTimestamps = 0; - queue_properties->maxMemReferences = 0; + queue_properties->supportsTimestamps = true; + queue_properties->maxMemReferences = 256; return VK_SUCCESS; case VK_PHYSICAL_DEVICE_INFO_TYPE_MEMORY_PROPERTIES: -- 2.30.2