diff options
| author | Oleg Makarov <olegmakarov@Olegs-MacBook-Pro.local> | 2026-11-23 01:03:05 +0300 |
|---|---|---|
| committer | Oleg Makarov <olegmakarov@Olegs-MacBook-Pro.local> | 2026-11-23 01:03:29 +0300 |
| commit | aec744e39d54e5e33701198334df5dbf7e4d754a (patch) | |
| tree | 5a7a77b5ddf64e0b5a175ed8841aa9d0c9c69e8d /runtime/test/vk_harness.cpp | |
| parent | 4c52ce27a6cf4af2bbf07a343ede39c5f1572b8d (diff) | |
Tests: account for KosmicKrisp NaN readback (TEST-783)
Diffstat (limited to 'runtime/test/vk_harness.cpp')
| -rw-r--r-- | runtime/test/vk_harness.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/test/vk_harness.cpp b/runtime/test/vk_harness.cpp index a9b97d31e..34d805d66 100644 --- a/runtime/test/vk_harness.cpp +++ b/runtime/test/vk_harness.cpp | |||
| @@ -265,10 +265,13 @@ int main(int argc, char** argv) { | |||
| 265 | } | 265 | } |
| 266 | VkPhysicalDeviceProperties props; vkGetPhysicalDeviceProperties(pd, &props); | 266 | VkPhysicalDeviceProperties props; vkGetPhysicalDeviceProperties(pd, &props); |
| 267 | VkPhysicalDeviceSubgroupSizeControlProperties sgProps{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES}; | 267 | VkPhysicalDeviceSubgroupSizeControlProperties sgProps{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES}; |
| 268 | VkPhysicalDeviceDriverProperties driver{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES}; | ||
| 269 | if (props.apiVersion >= VK_API_VERSION_1_2) sgProps.pNext = &driver; | ||
| 268 | VkPhysicalDeviceProperties2 props2{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2}; | 270 | VkPhysicalDeviceProperties2 props2{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2}; |
| 269 | props2.pNext = &sgProps; | 271 | props2.pNext = &sgProps; |
| 270 | vkGetPhysicalDeviceProperties2(pd, &props2); | 272 | vkGetPhysicalDeviceProperties2(pd, &props2); |
| 271 | std::fprintf(stderr, "device: %s (subgroup %u..%u)\n", props.deviceName, sgProps.minSubgroupSize, sgProps.maxSubgroupSize); | 273 | std::fprintf(stderr, "device: %s (subgroup %u..%u)\n", props.deviceName, sgProps.minSubgroupSize, sgProps.maxSubgroupSize); |
| 274 | if (driver.driverName[0]) std::fprintf(stderr, "driver: %s\n", driver.driverName); | ||
| 272 | uint32_t qn = 0; | 275 | uint32_t qn = 0; |
| 273 | vkGetPhysicalDeviceQueueFamilyProperties(pd, &qn, nullptr); | 276 | vkGetPhysicalDeviceQueueFamilyProperties(pd, &qn, nullptr); |
| 274 | std::vector<VkQueueFamilyProperties> qf(qn); | 277 | std::vector<VkQueueFamilyProperties> qf(qn); |