Repository navigation
Conversation
|
Previews, as seen when this build job started (90c2694): |
| should treat it as an optional performance feature. User agents may clamp requested rates upward or | ||
| disable the feature in contexts where exposing it is not appropriate. | ||
|
|
||
| ## Open Questions |
There was a problem hiding this comment.
I'll add the proposal for discussion in the group. That said, right now it looks like VRS is fairly non-portable and potentially difficult to secure. We'll likely need a lot more work before it can make it in the spec.
There was a problem hiding this comment.
Do you have a suggestion on how we could add this? I'd like to avoid adding another WebXR-only API like we did for WebGL...
There was a problem hiding this comment.
@mwyrzykowski doesn't Apple jump through some hoops to get this feature to work? If we can't have a WebGPU extension, would you be ok with a WebXR only solution?
There was a problem hiding this comment.
Do you have a suggestion on how we could add this? I'd like to avoid adding another WebXR-only API like we did for WebGL...
Which one are you referring to?
TBH I don't know how we could make anything portable right now. Maybe using Vulkan subpasses to generate the density map from separable maps like in Metal? At least it would work the same on two implementations, but on the other hand IDK that it would be efficient in Vulkan in practice :/
There was a problem hiding this comment.
Which one are you referring to?
https://immersive-web.github.io/webxr/#dom-xrwebgllayer-fixedfoveation and https://immersive-web.github.io/layers/#dom-xrwebglbinding-foveateboundtexture
TBH I don't know how we could make anything portable right now. Maybe using Vulkan subpasses to generate the density map from separable maps like in Metal? At least it would work the same on two implementations, but on the other hand IDK that it would be efficient in Vulkan in practice :/
We get the density maps from OpenXR and I was going to expose those textures in WebXR.
There was a problem hiding this comment.
Mmmh it wouldn't be ideal to add something so bespoke for WebXR. Wouldn't the density map from OpenXR be a privacy concern though?
There was a problem hiding this comment.
I don't think so. AFAIK the density maps are currently fixed in time but they left the door open to change it according to system pressure.
There is a feature to make it so the density reflects your eye gaze but there's currently no plan to expose that.
There was a problem hiding this comment.
Density maps are a privacy concern if they track the user's gaze / head position, but there are also static density maps.
Currently Apple uses the:
attribute float? fixedFoveation;
to enable / disable foveation, but the map itself can not be configured.
I don't think we can override the compositor's foveation map on visionPro. I mean we can, but it is specific to the device.
It is unclear why the map is beneficial as opposed to the floating point or boolean even VRR on/off?
|
Regarding the post-processing as discussed in the meeting - we could propose tile shaders as a WebGPU optional feature to avoid the additional pass which is not TBDR friendly :) I think all VRR headsets on the market are TBDR |
GPU Web WG 2026-06-24 Atlantic-time
|
Proposal for #450