Skip to content

Conversation

@kainino0x
Copy link
Contributor

@kainino0x kainino0x commented Jul 12, 2019

  • Chunk the IDL into small parts
  • Move prose from comments into the newly created spaces
  • Re-order some things for consistency and readability

Fixes #353


Preview | Diff

@kainino0x
Copy link
Contributor Author

This PR doesn't change anything substantive (except for the changes in the first commit, which is #364), so please review the overall structure in the non-diff rendered version.

@kainino0x kainino0x requested a review from litherum July 12, 2019 00:37
@kainino0x
Copy link
Contributor Author

kainino0x commented Jul 12, 2019

(In particular, the way that prose is inserted between code blocks. No need to review the structure in detail yet - I'm sure it will continue changing once we have a spec editing process.)

FYI, I was thinking of opening another PR which splits some of the interfaces into many partial interfaces, so that each function can be defined in a more useful place (e.g. createBuffer in the Buffers section). Haven't settled on that idea yet though.

Copy link
Contributor

@kdashg kdashg left a comment

Choose a reason for hiding this comment

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

Cool, thanks for doing this!

Copy link
Contributor

@Kangz Kangz left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@damyanp damyanp left a comment

Choose a reason for hiding this comment

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

LGTM

- Chunk the IDL into small parts
- Move prose from comments into the newly created spaces
- Re-order some things for consistency and readability

Fixes gpuweb#353
@kainino0x
Copy link
Contributor Author

Thanks for the reviews!

@kainino0x kainino0x merged commit c6db522 into gpuweb:master Jul 12, 2019
@kainino0x kainino0x deleted the specify-the-spec branch July 12, 2019 20:58
ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
* Simplify texelData helpers

- Removes componentType from capability_info since it can be computed
  from dataType.
- Removes dataType from capability_info since it is only used by
  texelData.
- Removes multiple impl of X -> packed representation. Now just data rep -> packed.
   Previously:
  - shader rep -> packed
  - data rep -> packed
- Standardizes helpers for decoding from or encoding into the data
  representation.
- Assorted code cleanup

* Address review feedbpack

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

More finely chunk IDL so there are places to write prose

4 participants