upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_harness.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/test/vk_harness.cpp')
-rw-r--r--runtime/test/vk_harness.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/test/vk_harness.cpp b/runtime/test/vk_harness.cpp
index 7bd679f10..c9968a1c2 100644
--- a/runtime/test/vk_harness.cpp
+++ b/runtime/test/vk_harness.cpp
@@ -267,10 +267,13 @@ int main(int argc, char** argv) {
267 } 267 }
268 VkPhysicalDeviceProperties props; vkGetPhysicalDeviceProperties(pd, &props); 268 VkPhysicalDeviceProperties props; vkGetPhysicalDeviceProperties(pd, &props);
269 VkPhysicalDeviceSubgroupSizeControlProperties sgProps{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES}; 269 VkPhysicalDeviceSubgroupSizeControlProperties sgProps{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES};
270 VkPhysicalDeviceDriverProperties driver{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES};
271 if (props.apiVersion >= VK_API_VERSION_1_2) sgProps.pNext = &driver;
270 VkPhysicalDeviceProperties2 props2{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2}; 272 VkPhysicalDeviceProperties2 props2{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2};
271 props2.pNext = &sgProps; 273 props2.pNext = &sgProps;
272 vkGetPhysicalDeviceProperties2(pd, &props2); 274 vkGetPhysicalDeviceProperties2(pd, &props2);
273 std::fprintf(stderr, "device: %s (subgroup %u..%u)\n", props.deviceName, sgProps.minSubgroupSize, sgProps.maxSubgroupSize); 275 std::fprintf(stderr, "device: %s (subgroup %u..%u)\n", props.deviceName, sgProps.minSubgroupSize, sgProps.maxSubgroupSize);
276 if (driver.driverName[0]) std::fprintf(stderr, "driver: %s\n", driver.driverName);
274 uint32_t qn = 0; 277 uint32_t qn = 0;
275 vkGetPhysicalDeviceQueueFamilyProperties(pd, &qn, nullptr); 278 vkGetPhysicalDeviceQueueFamilyProperties(pd, &qn, nullptr);
276 std::vector<VkQueueFamilyProperties> qf(qn); 279 std::vector<VkQueueFamilyProperties> qf(qn);