You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Depth copies between depth32float and depth32float-stencil8 #2328
The underlying APIs don't allow e.g. copying depth32float-stencil8's depth aspect into depth32float. In native, you can just copy with an intermediate buffer. But in WebGPU that's impossible: copies from buffer into depth32float aren't allowed because we can't validate the depth range (unless a future unrestricted-depth feature is enabled).
We could make such copies possible by implementing them with an internal intermediate buffer.
As described now in #2331, such copies could be imitated using a render pass that writes frag_depth.
I'm going to go ahead and close this because I don't see a need for this right now.
We can revisit this in the future, as well as other copies that are currently disallowed and would need implementation intervention (to/from depth24unorm/depth24plus, and to depth32float): #652 (comment).
Activity
kainino0x commentedon Nov 19, 2021
Tentatively post-V1.
kainino0x commentedon Nov 20, 2021
As described now in #2331, such copies could be imitated using a render pass that writes
frag_depth.I'm going to go ahead and close this because I don't see a need for this right now.
We can revisit this in the future, as well as other copies that are currently disallowed and would need implementation intervention (to/from depth24unorm/depth24plus, and to depth32float): #652 (comment).