pub fn read_entry_model(
tree: &Tree,
src: &str,
entry: &str,
) -> Result<EntryModel, EntryModelError>Expand description
Reads a Slang entry point off the CST for Frontend::with_entry_model: the [numthreads] block, the SV_* semantics on the
entry’s parameters, and the file-scope StructuredBuffer / RWStructuredBuffer / ConstantBuffer globals the entry body
references, in slot order (the walker’s convention, which fishstringer’s own emission follows).
§Errors
EntryModelError when the entry is missing, a semantic is not an execution id, or a referenced global is a resource type
this reader does not know.