Skip to content

[wgsl] Define the interface of an entry point in a WGSL program #774

Closed

Description

@dneto0

For an entry point in a WGSL program: what objects form the data interface with the outside world?

  • user data on input/output for vertex and fragment shaders
  • builtin variables
  • buffer and image resources

Also, how do those objects combine to form an interface.

This is a needed so we can write interface matching rules between vertex and fragment shaders within a pipeline. (#644)

We also need it to write the rules for when a shader (buffer and image) resource interface matches a pipeline configuration.

This is a blocker for meaningful support of vertex and fragment shaders.

Activity

  1. added
    wgsl
    on May 13, 2020
  2. added this to the MVP milestone on May 13, 2020
  3. grorg commented on Jun 16, 2020

    @grorg
    Contributor

    Discussed at the 2020-06-16 meeting.

    @dneto0 will come up with a draft/proposal for next week's F2F meeting.

  4. grorg commented on Jun 23, 2020

    @grorg
    Contributor

    Related to #662

  5. grorg commented on Jun 23, 2020

    @grorg
    Contributor

    Related to #644

  6. grorg commented on Jun 23, 2020

    @grorg
    Contributor
  7. dneto0 commented on Oct 6, 2020

    @dneto0
    ContributorAuthor

    I have WIP: #1133

  8. dneto0 commented on Oct 22, 2020

    @dneto0
    ContributorAuthor

    This is still in WIP, with the sequence of PRs being:

  9. kdashg commented on Feb 5, 2021

    @kdashg
    Contributor

    All linked PRs have landed, though I see there's a TODO there still.
    @dneto0 should we file an issue for the TODO specifically and close this?

  10. kdashg commented on Jul 30, 2021

    @kdashg
    Contributor

    @dneto0 bump :)

  11. dneto0 commented on Feb 8, 2022

    @dneto0
    ContributorAuthor

    This part of the spec has been written now.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    wgsl

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions