Skip to content
Snippets Groups Projects
Commit bf830f1e authored by Ludovico de Nittis's avatar Ludovico de Nittis
Browse files

Revert "check-vulkan: Try to draw with all the available devices"


This reverts commit 0d0b054a.

Printing JSON details of GPUs to stderr was a stopgap solution.
We revert that commit to implement a proper parsing of the check-vulkan
output.

Signed-off-by: default avatarLudovico de Nittis <ludovico.denittis@collabora.com>
parent 5f239b57
No related branches found
No related tags found
No related merge requests found
......@@ -1374,20 +1374,11 @@ int main (int argc,
for (i = 0; i < physical_device_count; i++)
print_physical_device_info (physical_devices[i], stderr);
for (i = 0; i < physical_device_count; i++)
{
result = draw_test_triangle (vk_instance, physical_devices[i], error);
print_draw_test_result (i, result, local_error, stderr);
if (local_error != NULL)
g_printerr ("%s", local_error->message);
result = draw_test_triangle (vk_instance, physical_devices[0], error);
print_draw_test_result (0, result, local_error, stderr);
g_clear_error (error);
/* Return exit success if we are able to draw with at least one device */
if (result)
ret = EXIT_SUCCESS;
}
if (result)
ret = EXIT_SUCCESS;
out:
if (local_error != NULL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment