Skip to content

[core] Document validation::Interface and associated internals. - #9984

Open
jimblandy wants to merge 2 commits into
gfx-rs:trunkfrom
jimblandy:core-validation-interface-doc
Open

[core] Document validation::Interface and associated internals.#9984
jimblandy wants to merge 2 commits into
gfx-rs:trunkfrom
jimblandy:core-validation-interface-doc

Conversation

@jimblandy

@jimblandy jimblandy commented Jul 31, 2026

Copy link
Copy Markdown
Member

In wgpu_core::validation, add documentation for Interface and EntryPoint,
and document some methods.

In wgpu_core::pipeline, document ShaderModule::finalize_entry_point_name and
expand on the documentation for the fields of ProgrammableStageDescriptor.

In wgpu_types::features, fix a cargo doc warning.

Depends on #9987.

In `wgpu_core::validation`, rename `Varying::Local` to `Varying::UserDefined`.
This matches the terminology used in the WGSL specification.

Add documentation for the `Varying` enum.

There are no substantive code changes in this commit.
In `wgpu_core::validation`, add documentation for `Interface` and `EntryPoint`,
and document some methods.

In `wgpu_core::pipeline`, document `ShaderModule::finalize_entry_point_name` and
expand on the documentation for the fields of `ProgrammableStageDescriptor`.

In `wgpu_types::features`, fix a `cargo doc` warning.
@jimblandy
jimblandy force-pushed the core-validation-interface-doc branch from e00c69e to f881d2f Compare August 2, 2026 23:29
@jimblandy jimblandy changed the title [core] Document validation::Interface. [core] Document validation::Interface and associated internals. Aug 2, 2026
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.

1 participant