Skip to content

read-only image storage type declarations: examples inconsistent with grammar #1056

Closed

Description

@dneto0

Thanks @ponitka for finding this.

The examples in https://gpuweb.github.io/gpuweb/wgsl.html#texture-ro use first template parameter 'type' of i32, u32, or f32. This is inconsistent with the grammar summary at https://gpuweb.github.io/gpuweb/wgsl.html#texture-types-grammar

These scalar types are redundant with the image format: they can and should be deduced from the image format template parameter, which comes immediately afterward.

Activity

  1. added
    wgsl
    on Sep 8, 2020
  2. self-assigned this
    on Sep 8, 2020
  3. added a commit that references this issue on Sep 8, 2020
    28feb8d
  4. added this to the MVP milestone on Sep 8, 2020
  5. dneto0 commented on Sep 24, 2020

    @dneto0
    ContributorAuthor

    Confirmed this is still an issue. I think this is "just a bug" and needs a PR.

  6. kvark commented on Sep 24, 2020

    @kvark
    Contributor

    Is this still an issue? I'd think that #1089 resolved this.

  7. dneto0 commented on Sep 25, 2020

    @dneto0
    ContributorAuthor

    I agree #1089 fixed this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

wgsl

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions