diff options
author | David Neto <dneto@google.com> | 2018-02-12 10:45:39 -0500 |
---|---|---|
committer | David Neto <dneto@google.com> | 2018-02-27 18:47:29 -0500 |
commit | 0c13467161842389a5270e5a0e2a6c9e9be487a5 (patch) | |
tree | 9e487aee080f0fea1ac8613f9640ff4d36fa6e41 /tools | |
parent | 802cf053c797741008cc35bc3b2a2a926edd463d (diff) | |
download | SPIRV-Tools-0c13467161842389a5270e5a0e2a6c9e9be487a5.tar.gz SPIRV-Tools-0c13467161842389a5270e5a0e2a6c9e9be487a5.tar.bz2 SPIRV-Tools-0c13467161842389a5270e5a0e2a6c9e9be487a5.zip |
Consistently include latest spirv.h header file.
Use indirection through latest_version_spirv.h
Also, when generating enum tables, use the unified1 JSON grammar since
it now has FragmentFullyCoveredEXT but the other JSON grammars don't.
They are starting to fall behind.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/stats/stats_analyzer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/stats/stats_analyzer.cpp b/tools/stats/stats_analyzer.cpp index da0b9e3c..7ce56c96 100644 --- a/tools/stats/stats_analyzer.cpp +++ b/tools/stats/stats_analyzer.cpp @@ -23,13 +23,13 @@ #include <unordered_set> #include <vector> +#include "latest_version_spirv_header.h" #include "source/comp/markv_model.h" #include "source/enum_string_mapping.h" #include "source/opcode.h" #include "source/operand.h" #include "source/spirv_constant.h" #include "source/util/huffman_codec.h" -#include "spirv/1.2/spirv.h" using libspirv::SpirvStats; using spvutils::HuffmanCodec; |