Support SPV_AMD_gcn_shader
authorDavid Neto <dneto@google.com>
Tue, 21 Mar 2017 16:43:26 +0000 (12:43 -0400)
committerDavid Neto <dneto@google.com>
Thu, 23 Mar 2017 20:32:35 +0000 (16:32 -0400)
commit7fe8a57a5bd72094e91f9f93e51dac2f2461dcb4
tree8f2ccb882ebe9776cbd4fc105ca02bba89158ab0
parentfa834dea408935c7e86ee985bef24dbf964962b7
Support SPV_AMD_gcn_shader

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
include/spirv-tools/libspirv.h
source/CMakeLists.txt
source/ext_inst.cpp
source/extinst.amd-gcn-shader.grammar.json [new file with mode: 0644]
test/text_to_binary.extension_test.cpp
test/val/val_extensions_test.cpp
utils/generate_grammar_tables.py