Skip to content

Missing feature checks cause sample crashes on Windows 10 + AMD GPU #1144

@SRSaunders

Description

@SRSaunders

Crashes in vkCreateDevice() occur with the following samples when running on Windows 10 with an AMD 6600XT GPU:

  1. dynamic_line_rasterization
  2. extended_dynamic_state2
  3. logic_op_dynamic_state
  4. 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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions