diff --git a/proposals/phone-ar-depth-gpu.html b/proposals/phone-ar-depth-gpu.html index 1db45a915..e6d836894 100644 --- a/proposals/phone-ar-depth-gpu.html +++ b/proposals/phone-ar-depth-gpu.html @@ -102,6 +102,10 @@ let options = { requiredFeatures: ['depth-sensing'], + depthSensing: { + usagePreference: ["gpu-optimized", "cpu-optimized"], + dataFormatPreference: ["float32", "luminance-alpha"], + } }; navigator.xr.requestSession('immersive-ar', options).then((session) => { diff --git a/proposals/phone-ar-depth.html b/proposals/phone-ar-depth.html index 2289902ef..3a396ef32 100644 --- a/proposals/phone-ar-depth.html +++ b/proposals/phone-ar-depth.html @@ -102,6 +102,10 @@ let options = { requiredFeatures: ['depth-sensing'], + depthSensing: { + usagePreference: ["cpu-optimized", "gpu-optimized"], + dataFormatPreference: ["luminance-alpha", "float32"], + } }; navigator.xr.requestSession('immersive-ar', options).then((session) => {