Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Rename type flags to better align with the current WGSL spec. #1872

Merged
merged 1 commit into from
Apr 29, 2022

Conversation

jimblandy
Copy link
Member

TypeFlags::INTERFACE -> TypeFlags::IO_SHARED
(WGSL §4.4.4's "IO-shareable types")

TypeFLags::HOST_SHARED -> TypeFlags::HOST_SHAREABLE
(WGSL §4.4.5's "Host-shareable types")

TypeFlags::INTERFACE -> TypeFlags::IO_SHARED
(WGSL §4.4.4's "IO-shareable types")

TypeFLags::HOST_SHARED -> TypeFlags::HOST_SHAREABLE
(WGSL §4.4.5's "Host-shareable types")
@jimblandy jimblandy added kind: refactor Making existing function faster or nicer area: middle Intermediate representation labels Apr 29, 2022
@jimblandy jimblandy requested a review from teoxoy April 29, 2022 21:40
@jimblandy jimblandy self-assigned this Apr 29, 2022
@jimblandy
Copy link
Member Author

These are nowhere used in wgpu, so renames shouldn't cause trouble.

Copy link
Member

@teoxoy teoxoy left a comment

Choose a reason for hiding this comment

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

Small but great change, lowers the barrier of entry/understanding!

@jimblandy jimblandy merged commit a06b604 into gfx-rs:master Apr 29, 2022
@jimblandy jimblandy deleted the rename-type-flags branch April 29, 2022 22:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: middle Intermediate representation kind: refactor Making existing function faster or nicer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants