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

Add multisampled texture type #1029

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

Merged
merged 1 commit into from
Aug 25, 2020
Merged

Add multisampled texture type #1029

merged 1 commit into from
Aug 25, 2020

Conversation

kvark
Copy link
Contributor

@kvark kvark commented Aug 25, 2020

Closes #990

@kvark kvark requested a review from dj2 August 25, 2020 16:49
@dj2 dj2 added the wgsl WebGPU Shading Language Issues label Aug 25, 2020
@kdashg
Copy link
Contributor

kdashg commented Aug 25, 2020

Approved to land after rebase.

@kvark
Copy link
Contributor Author

kvark commented Aug 25, 2020

Rebased now

@kvark kvark merged commit 05f9893 into gpuweb:main Aug 25, 2020
@kvark kvark deleted the wgsl-msaa branch August 25, 2020 19:06
@@ -2977,11 +2990,15 @@ TODO: deduplicate these tables
`vec4<type> textureLoad(texture_ro, i32 coords, i32 level_of_detail)`
`vec4<type> textureLoad(texture_ro, vec2<i32> coords, i32 level_of_detail)`
`vec4<type> textureLoad(texture_ro, vec3<i32> coords, i32 level_of_detail)`
%32 = OpImageFetch %v4float %texture_ro %coords Lod %level_of_detail
%32 = OpImageLoad %v4float %texture_ro %coords Lod %level_of_detail
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be OpImageRead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yes, that's a mistake. Would you want to make a PR fixing this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made one.

ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
…puweb#1029)

copyImageBitmapToTexture is deprecated API and it has been removed
from cts tests. But the word copyImageBitmapToTexture remains in
comments and readme. This commit replaces it with
copyExternalImageToTexture.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wgsl WebGPU Shading Language Issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sampling from MSAA textures
4 participants