KhronosGroup / Vulkan-Samples

One stop solution for all Vulkan samples
Apache License 2.0
4.33k stars 647 forks source link

Workaround on feature requesting for extension sample gshader_to_mshader. #1106

Closed asuessenbach closed 3 months ago

asuessenbach commented 4 months ago

Description

With the current approach to request features, each and every available feature is requested. In the gshader_to_mshader, that approach leads to some validation layer errors, because some features need some other stuff to be enabled as well. This workaround explicitly does not request some features to resolve the validation layer errors.

Build tested on Win10 with VS2022. Run tested on Win10 with NVidia GPU.

Note: this needs to be adjusted, when #1013 (or something similar) is in.

General Checklist:

Please ensure the following points are checked:

Sample Checklist

If your PR contains a new or modified sample, these further checks must be carried out in addition to the General Checklist: