-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
WebGPU partial support for multisampled RT using supplied depth texture #6917
Conversation
mvaligursky
commented
Sep 6, 2024
•
edited
Loading
edited
- implements support for WebGPU rendering to a supplied depth texture when MSAA is enabled. This internally allocates additional MSAA depth buffer for rendering.
- refactored to store depth related parts of WegpuRenderTarget in a DepthAttachment private class
- solves first point here: WebGPU MSAA render target with depth buffer fails #5714 (comment)
- other points to be done separately
@@ -12,6 +12,8 @@ const stringIds = new StringIds(); | |||
|
|||
/** | |||
* Private class storing info about color buffer. | |||
* | |||
* @private |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing this is unnecessary because the root index.js
does not export this class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah but I had to add it to avoid the type errors coming from WebGPU types
* A WebGPU implementation of the RenderTarget. | ||
* Private class storing info about depth-stencil buffer. | ||
* | ||
* @private |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary.