pub(crate) static STORAGE_CLASS_REGEX: LazyLock<Regex>Expand description
HLSL storage-class qualifiers — strip when they appear as a leading
word in a declaration. static const is a common HLSL pattern for
“function-scope compile-time constant”, but WGSL inside a function
uses let (or const at module scope only). Stripping both lets
rewrite_local_declarations turn the rest into a regular var.