flowchart TD
L["DXIL library bytes
+ subobject name, e.g. grs"] --> U["MTL12_LIBRARY_INFO (unix side)
reads the library's RDAT tables"]
U --> S["entry points and subobjects
each root signature as bare RTS0"]
S --> Q{"GLOBAL or LOCAL root signature
with that name?"}
Q -->|no| E["E_INVALIDARG"]
Q -->|yes| W["wrap RTS0 in a DXBC container"]
W --> Z["D3D12CreateVersioned
RootSignatureDeserializer"]
Z --> O["deserializer: version 1.1,
one UAV at u0, space 0"]