CONST_TYPE_REGEX

Static CONST_TYPE_REGEX 

Source
pub(crate) static CONST_TYPE_REGEX: LazyLock<Regex>
Expand description

HLSL const TYPE NAME at start of a typed local declaration. We strip const only when followed by a recognised HLSL type token — leaves WGSL module-level const (which doesn’t appear in user shader bodies anyway) alone.