Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix non-sorted surface indexing #890

Merged
merged 1 commit into from
Mar 24, 2022
Merged

Fix non-sorted surface indexing #890

merged 1 commit into from
Mar 24, 2022

Conversation

MarkY-LunarG
Copy link
Collaborator

The physical device terminator was missing the ICD index in the
non-sorted path. This caused crashes in Angle before it was realized
that the sorting code was unintentionally disabled in that build
path.

Also, add tests to catch this case in the future.

Fixes #863 for non-sorting paths

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 6981.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 1234 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 1234 passed.

tests/loader_wsi_tests.cpp Show resolved Hide resolved
tests/loader_wsi_tests.cpp Show resolved Hide resolved
tests/loader_wsi_tests.cpp Show resolved Hide resolved
tests/loader_wsi_tests.cpp Show resolved Hide resolved
@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 7004.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 1235 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 1235 failed.

1 similar comment
@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 1235 failed.

The physical device terminator was missing the ICD index in the
non-sorted path.  This caused crashes in Angle before it was realized
that the sorting code was unintentionally disabled in that build
path.

Also, add tests to catch this case in the future in the WSI code, but
this required converting all the TEST_F tests to TEST since Gtest
didn't like mixing the 2 on my system.

Finally, fix a few WSI error messages in the loader which were
missing spaces.

Fixes #863 for non-sorting paths
@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 7013.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 1236 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 1236 passed.

@MarkY-LunarG MarkY-LunarG merged commit 2d1860d into KhronosGroup:master Mar 24, 2022
@MarkY-LunarG MarkY-LunarG deleted the fix_non_sort_surface_crash branch March 24, 2022 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

content_shell crashes with Vulkan error on startup with nvidia driver
3 participants