-
Notifications
You must be signed in to change notification settings - Fork 344
New binding type for multisampled textures #1005
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
Conversation
kainino0x
left a comment
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.
LGTM, looks like a straightforward clarifying refactor of the same information.
Kangz
left a comment
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.
Nice, that makes things much simpler indeed.
|
Thanks for the reviews! I rebased this now. Would be great to not wait another 2 weeks for this to be discussed. |
It will be on the agenda for next week. |
|
Discussed at the 2020-08-24 meeting. |
|
Resolution: rebase and merge |
Fixes #990
Problem: on the shader side, MSAA-enabled textures are not sampled. We have the
texture_loadinstruction to access them, andtexture_sampleis forbidden (in WGSL). Therefore, it's confusing to bind them as "sampled-texture" types. This PR adds a new binding type specifically for MSAA textures, and it removes the old booleanmultisampledfrom BGL entry.Preview | Diff