Skip to content
Snippets Groups Projects
Verified Commit ad6fbda0 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

[#103] Added VK_KHR_portability_subset requirement on apple hardware

parent 21de8ef7
No related branches found
No related tags found
1 merge request!94Resolve "Follow-up from "Draft: Resolve "MacOS Support"" : Mac Runtime"
Pipeline #26958 passed
......@@ -261,6 +261,10 @@ namespace vkcv
FeatureManager featureManager (physicalDevice);
#ifdef __APPLE__
featureManager.useExtension("VK_KHR_portability_subset", true);
#endif
if (featureManager.useExtension(VK_KHR_SHADER_FLOAT16_INT8_EXTENSION_NAME, false)) {
featureManager.useFeatures<vk::PhysicalDeviceShaderFloat16Int8Features>(
[](vk::PhysicalDeviceShaderFloat16Int8Features& features) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment