Skip to content

Remove type generic from RO texture types - #1089

Merged
dj2 merged 1 commit into
gpuweb:mainfrom
kvark:wgsl-ro
Sep 19, 2020
Merged

dj2 merged 1 commit into
gpuweb:mainfrom
kvark:wgsl-ro

Conversation

@kvark

@kvark kvark commented Sep 18, 2020

Copy link
Copy Markdown
Contributor

I don't think it's needed, since the storage format type can be uniquely associated to the sampling type. E.g. R32UINT is u32, and RGBA8UNORM is f32.

@kvark
kvark requested a review from dj2 September 18, 2020 02:04

@dj2 dj2 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is what actually got implemented in Tint.

@dj2 dj2 added the wgsl WebGPU Shading Language Issues label Sep 18, 2020
@dj2

dj2 commented Sep 18, 2020

Copy link
Copy Markdown
Member

Note this is a subset of #1059

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.

2 participants