mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-24 04:20:13 +00:00
7fe8a57a5b
Supported in assembler, disassembler, and binary parser. The validator does not check SPV_AMD_gcn_shader validation rules beyond parsing the extension. Adds generic support for generating instruction tables for vendor extensions. Adds generic support for extensions the validator should recognize (but not check) but which aren't derived from the SPIR-V core grammar file. Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/594
27 lines
535 B
JSON
27 lines
535 B
JSON
{
|
|
"revision" : 2,
|
|
"instructions" : [
|
|
{
|
|
"opname" : "CubeFaceIndexAMD",
|
|
"opcode" : 1,
|
|
"operands" : [
|
|
{ "kind" : "IdRef", "name" : "'P'" }
|
|
],
|
|
"extensions" : [ "SPV_KHR_gcn_shader" ]
|
|
},
|
|
{
|
|
"opname" : "CubeFaceCoordAMD",
|
|
"opcode" : 2,
|
|
"operands" : [
|
|
{ "kind" : "IdRef", "name" : "'P'" }
|
|
],
|
|
"extensions" : [ "SPV_KHR_gcn_shader" ]
|
|
},
|
|
{
|
|
"opname" : "TimeAMD",
|
|
"opcode" : 3,
|
|
"extensions" : [ "SPV_KHR_gcn_shader" ]
|
|
}
|
|
]
|
|
}
|