parse_hlsl_params

Function parse_hlsl_params 

Source
pub(crate) fn parse_hlsl_params(params: &str) -> Vec<(String, String)>
Expand description

Parse an HLSL parameter list into (type, name) pairs in source order. Same shape as [convert_hlsl_params_to_wgsl] but returns the structured form so callers can decide per-param whether to rename / shadow.