这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@kvark
Copy link
Contributor

@kvark kvark commented Aug 17, 2020

Fixes #990

Problem: on the shader side, MSAA-enabled textures are not sampled. We have the texture_load instruction to access them, and texture_sample is 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 boolean multisampled from BGL entry.


Preview | Diff

Copy link
Contributor

@kainino0x kainino0x left a 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.

Copy link
Contributor

@Kangz Kangz left a 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.

@kvark
Copy link
Contributor Author

kvark commented Aug 19, 2020

Thanks for the reviews! I rebased this now. Would be great to not wait another 2 weeks for this to be discussed.

@Kangz
Copy link
Contributor

Kangz commented Aug 20, 2020

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.

@grorg
Copy link
Contributor

grorg commented Aug 24, 2020

Discussed at the 2020-08-24 meeting.

@kainino0x
Copy link
Contributor

Resolution: rebase and merge

@kvark kvark merged commit e1c6918 into gpuweb:main Aug 24, 2020
@kvark kvark deleted the msaa-binding branch August 24, 2020 19:36
ben-clayton added a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sampling from MSAA textures

5 participants