Add feature check to require min Vulkan api version 1.0 on Android

This commit is contained in:
Fredia Huya-Kouadio
2023-02-27 07:02:37 -08:00
parent 8208060c21
commit 306a2ad386
3 changed files with 19 additions and 2 deletions

View File

@ -276,6 +276,7 @@ String _get_xr_features_tag(const Ref<EditorExportPreset> &p_preset, bool p_uses
if (p_uses_vulkan) {
manifest_xr_features += " <uses-feature tools:node=\"replace\" android:name=\"android.hardware.vulkan.level\" android:required=\"true\" android:version=\"1\" />\n";
manifest_xr_features += " <uses-feature tools:node=\"replace\" android:name=\"android.hardware.vulkan.version\" android:required=\"true\" android:version=\"0x400003\" />\n";
}
return manifest_xr_features;
}