tests: warm up in ThreadCommandBufferCollision
Change the warm up of the threading detection in
ThreadCommandBufferCollision test to use a function
that actually has a threading layer wrapper.
diff --git a/tests/layer_validation_tests.cpp b/tests/layer_validation_tests.cpp
index cc3ce1f..5e9008a 100644
--- a/tests/layer_validation_tests.cpp
+++ b/tests/layer_validation_tests.cpp
@@ -11723,10 +11723,8 @@
test_platform_thread_create(&thread, AddToCommandBuffer, (void *)&data);
// Make non-conflicting calls from this thread at the same time.
for (int i = 0; i < 80000; i++) {
- const VkFormat tex_format = VK_FORMAT_R8G8B8A8_UNORM;
- VkFormatProperties format_properties;
- vkGetPhysicalDeviceFormatProperties(gpu(), tex_format,
- &format_properties);
+ uint32_t count;
+ vkEnumeratePhysicalDevices(instance(), &count, NULL);
}
test_platform_thread_join(thread, NULL);