Crashes in vkCreateDevice()
occur with the following samples when running on Windows 10 with an AMD 6600XT GPU:
- dynamic_line_rasterization
- extended_dynamic_state2
- logic_op_dynamic_state
- patch_control_points
The crashes appear to be due to missing dynamic state and/or line rasterization feature support which is requested by the samples and part of the VkDeviceCreateInfo
struct. This seems a bit unexpected, as vkCreateDevice()
should be able to handle this and instead return a non-success error code. However, this does not seem to be the case at least for my graphics card/driver. I am using the most up-to-date AMD drivers and Vulkan SDK 1.3.290. Windows 10 is also up to date.
I will post a PR that first checks for the required features in the above samples and avoids the crashes.