Refactored MARK-V API
authorAndrey Tuganov <andreyt@google.com>
Tue, 3 Oct 2017 21:36:37 +0000 (17:36 -0400)
committerDavid Neto <dneto@google.com>
Thu, 12 Oct 2017 19:40:40 +0000 (15:40 -0400)
commit2401fc0a726ce696f555108320fe602b35a5de82
treee9cc8a7618b7f7893647ed2f520493c0828d04dc
parentb54997e6ebd9e361ed438fd5cdb1de5dfa5f4f56
Refactored MARK-V API

- switched from C to C++
- moved MARK-V model creation from backend to frontend
- The same MARK-V model object can be used to encode/decode multiple
files
- Added MARK-V model factory (currently only one option)
- Added --validate option to spirv-markv (run validation while
encoding/decoding)
18 files changed:
include/spirv-tools/markv.h [deleted file]
source/comp/CMakeLists.txt
source/comp/markv.h [new file with mode: 0644]
source/comp/markv_autogen.cpp [deleted file]
source/comp/markv_autogen.h [deleted file]
source/comp/markv_autogen.inc [deleted file]
source/comp/markv_codec.cpp
source/comp/markv_model.h [new file with mode: 0644]
test/comp/CMakeLists.txt
test/comp/markv_codec_test.cpp
tools/CMakeLists.txt
tools/comp/markv.cpp
tools/comp/markv_model_factory.cpp [new file with mode: 0644]
tools/comp/markv_model_factory.h [new file with mode: 0644]
tools/comp/markv_model_shader_default.cpp [new file with mode: 0644]
tools/comp/markv_model_shader_default.h [new file with mode: 0644]
tools/comp/markv_model_shader_default_autogen.inc [new file with mode: 0644]
tools/stats/stats_analyzer.cpp