fix validation errors

This commit is contained in:
awtterpip
2024-05-14 17:52:01 -05:00
parent 4d82c80047
commit 2282e1c5e9
2 changed files with 18 additions and 1 deletions

View File

@@ -42,16 +42,31 @@ launch_mode = "singleTask"
orientation = "landscape"
resizeable_activity = false
[[package.metadata.android.uses_feature]]
name = "android.hardware.vr.headtracking"
required = true
[[package.metadata.android.uses_feature]]
name = "oculus.software.handtracking"
required = true
[[package.metadata.android.uses_feature]]
name = "com.oculus.feature.PASSTHROUGH"
required = true
version = 1
[[package.metadata.android.uses_feature]]
name = "com.oculus.experimental.enabled"
required = true
[[package.metadata.android.uses_permission]]
name = "com.oculus.permission.HAND_TRACKING"
[[package.metadata.android.application.activity.intent_filter]]
actions = ["android.intent.action.MAIN"]
categories = [
"com.oculus.intent.category.VR",
"android.intent.category.LAUNCHER",
"org.khronos.openxr.intent.category.IMMERSIVE_HMD",
]
# !! IMPORTANT !!

View File

@@ -117,6 +117,8 @@ unsafe impl GraphicsExt for openxr::Vulkan {
ash::extensions::khr::DrawIndirectCount::name(),
#[cfg(target_os = "android")]
ash::extensions::khr::TimelineSemaphore::name(),
ash::vk::KhrImagelessFramebufferFn::name(),
ash::vk::KhrImageFormatListFn::name(),
];
let vk_instance = unsafe {