-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More mips per pass #1
Comments
Ok, so in v2, I'll just use a coherent buffer for the mid mip - according to this, buffers are coherent by default - so that would let me (personally) do at least 8 mips per pass (all adapters I've tested with allow only 8). For more, I guess I still have to wait for arrays of textures. |
Wgpu buffers are not currently coherent. I ran into this recently with my own SPD port to wgsl bevyengine/bevy#13003. At the point where you switch to the last active workgroup processing the last 64x64 tile, the writes from the previous pass by other workgroups will not be visible to the last workgroup. |
Yeah, that's unfortunate :/ |
Native SPD supports up to 12 mips per pass. WebGPU doesn't support arrays of textures and read-write access for most formats yet but someday it will.
The text was updated successfully, but these errors were encountered: