mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-26 21:30:07 +00:00
Rname grammar.json to spirv.core.grammar.json and add version info.
This commit is contained in:
parent
3fb2676d23
commit
9ca2d6dcd2
@ -140,7 +140,7 @@ add_custom_target(spirv-tools-build-version
|
||||
add_custom_target(spirv-tools-build-tables
|
||||
${PYTHON_EXECUTABLE}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/utils/generate_grammar_tables.py
|
||||
${spirv-tools_SOURCE_DIR}/source/grammar.json
|
||||
${spirv-tools_SOURCE_DIR}/source/spirv.core.grammar.json
|
||||
--opcode-file=${spirv-tools_BINARY_DIR}/opcode.inc
|
||||
--operand-file=${spirv-tools_BINARY_DIR}/operand.inc
|
||||
COMMENT "Generate info tables for SPIR-V instructions and operands.")
|
||||
|
@ -24,6 +24,9 @@
|
||||
"FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS",
|
||||
"IN THE MATERIALS."
|
||||
],
|
||||
"magic_number" : "0x07230203",
|
||||
"version" : "0x00010000",
|
||||
"revision" : 4,
|
||||
"instructions" : [
|
||||
{
|
||||
"opname" : "OpNop",
|
Loading…
Reference in New Issue
Block a user