MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / SpecConstant

Class SpecConstant

crates/rustc_codegen_spirv/src/attr.rs:72–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70
71#[derive(Copy, Clone, Debug, PartialEq, Eq)]
72pub struct SpecConstant {
73 pub id: u32,
74 pub default: Option<u32>,
75}
76
77// NOTE(eddyb) when adding new `#[spirv(...)]` attributes, the tests found inside
78// `tests/ui/spirv-attr` should be updated (and new ones added if necessary).

Callers 1

parse_attrs_for_checkingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected