Skip to content

spirv: improve documentation detailing SPIR-V specification version#276

Open
ickk wants to merge 1 commit into
gfx-rs:masterfrom
ickk:headers-version-docs
Open

spirv: improve documentation detailing SPIR-V specification version#276
ickk wants to merge 1 commit into
gfx-rs:masterfrom
ickk:headers-version-docs

Conversation

@ickk

@ickk ickk commented Jun 16, 2026

Copy link
Copy Markdown

I was a little bit confused when trying to understand what version of the spir-v specification the spirv crates corresponds to.

This patch includes the SPIR-V specification version in the spirv crate documentation explicitly, and further clarifies that the version-metadata corresponds to the git tag of the SPIRV-HEADERS repository.

autogen/header now exposes the SPIR-V specification version as literals
via macros. The literals are then used by both the version constants, as
well as the crate documentation using `#[doc]` attributes.

Clarifies that the crate's version metadata refers to the git-tag of the
SPIR-V Headers.
@ickk ickk force-pushed the headers-version-docs branch from 5b54cc5 to c9e7ed8 Compare June 16, 2026 21:13
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