Skip to content

Conversation

@Frederique-Hsu
Copy link

@Frederique-Hsu Frederique-Hsu commented Mar 22, 2025

This issue had been described in #85

Root cause:

Since the getDeviceExtensions() will return all extensions, when passing an argument of CPU device.

Hence we have to skip the CPU-type device.

Especially, when user wants to enable the "VK_KHR_ray_tracing_pipeline" extension, it will return a wrong compatible device to user, provided that not skip the CPU type.

Fix solution:

add a checking for the props.deviceType, skip the CPU type.

…e type for calling getDeviceExtensions()

Signed-off-by: Frederique Hsu <frederique.hsu@outlook.com>
@Frederique-Hsu Frederique-Hsu force-pushed the fix/getCompatibleDevices branch from 6f60731 to fa3b64f Compare March 22, 2025 12:57
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.

1 participant