Repository navigation
[wgsl] Flip the default texture name. - #1180
Merged
Merged
Conversation
This CL swaps the short texture name to be sampled textures and explicitly names the storage textures. So, `texture_sampled_1d` -> `texture_1d` and `texture_ro_1d` -> `texture_storage_ro_1d`. Issue #1159
dneto0
approved these changes
Oct 26, 2020
dneto0
left a comment
Contributor
There was a problem hiding this comment.
I think a future CL will apply the read,write as template attribs.
kvark
reviewed
Oct 26, 2020
|
|
||
| <pre class='def'> | ||
| `texture_ro_1d<image_storage_type>` | ||
| `texture_storage_ro_1d<image_storage_type>` |
Contributor
There was a problem hiding this comment.
Can we call it just "storage_ro_1d", perhaps? it would be shorter and unambiguous
Member
Author
There was a problem hiding this comment.
That seems like it would be confusing when we have storage buffers and a storage_* types, yet the storage types aren't used with storage buffers.
Contributor
|
Discussed at 2020-11-03 meeting. |
Contributor
|
Resolved: Accepted. |
ben-clayton
added a commit
to ben-clayton/webgpu-samples
that referenced
this pull request
Jan 13, 2021
These texture types were renamed in October 2020: gpuweb/gpuweb#1180
ben-clayton
added a commit
to ben-clayton/webgpu-samples
that referenced
this pull request
Jan 13, 2021
These texture types were renamed in October 2020: gpuweb/gpuweb#1180
austinEng
pushed a commit
to webgpu/webgpu-samples
that referenced
this pull request
Jan 13, 2021
These texture types were renamed in October 2020: gpuweb/gpuweb#1180
marksisson
pushed a commit
to vendored/google.dawn
that referenced
this pull request
Jan 14, 2021
These texture types were renamed in October 2020: gpuweb/gpuweb#1180 Tint has supported both forms since November 2020: https://dawn-review.googlesource.com/c/tint/+/31380 Finally migrate to the new form so we can drop support for the old. Bug: tint:286 Change-Id: Id19b79be28152b3de163f9cce75eefff1ae31d76 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/37702 Commit-Queue: Ben Clayton <[email protected]> Reviewed-by: dan sinclair <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This CL swaps the short texture name to be sampled textures and
explicitly names the storage textures.
So,
texture_sampled_1d->texture_1dandtexture_ro_1d->texture_storage_ro_1d.Issue #1159