SPIR-V HTML Specification to JSON converter
- TODO
(Currently all work-in-progress)
(Official spec folder: https://www.khronos.org/registry/spir-v/specs/)
{
"Metadata": {
"Title": "SPIR-V Specification (Provisional)",
"Author": "John Kessenich, LunarG; Boaz Ouriel, Intel",
"Revnumber": "version 0.99, revision 29 in progress",
"LastUpdate": "Last updated 2015-02-19 18:30:13 MST"
},
"OpCodes": [
... one object per op ...
],
"Enums": [
... one object per enum ...
],
"Extensions": [
... one object per extended instruction set ...
]
}
{
"Name": "OpExtInst",
"Category": "Extension",
"Description": "... description with html tags ...",
"DescriptionPlain": "... description without html tags ...",
"Capabilities": [],
"WordCount": "5 + variable",
"WordCountFix": 5,
"OpCode": 44,
"HasVariableWordCount": true,
"HasResult": true,
"HasResultType": true,
"Operands": [
{
"Name": "ResultType",
"Type": "ID"
},
{
"Name": "Result",
"Type": "ID"
},
{
"Name": "Set",
"Type": "ID"
},
{
"Name": "Instruction",
"Type": "LiteralNumber"
},
{
"Name": "Operands",
"Type": "ID[]"
}
]
}
TODO
TODO