-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NFC] Split of SPT and SPIR-V in header parsing (#2316)
Translator accepting two formats currently - SPIR-V and SPT. SPT is a textual format used internally for tests without any formal specification. Parsing a textual format is slower than binary format and SPT also is less strict in comparison to SPIRV. Because parsing in Translator is organized around iostream interfaces and implementations are mostly shared, the binary format is parsed much slower than it can be. The commit starts an effort of splitting implementations to make SPIR-V hot path faster and easier to read. In addition to that from both implementations the Decoder class is removed - it doesn't bring any important functionality which couldn't be solved by few lines of explicit simple code.
- Loading branch information
Showing
1 changed file
with
233 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters