-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better D3D12 Convert to JSON (#1362)
A new DX12 consumer and struct and enum conversion functions that use the nlohmann JSON library. Deleted the old "ASCII" string concatenating equivalents. * JsonWriter Class that both Vulkan and DX12 Consumers write JSON through. * Moved Annotation Handling to JsonWriter * More metadata blocks supported. * More binary blobs dumped to files on the side. * Convert Masks to Binary for D3D12 Convert masks which don't have enums defining possible bit values into binary numbers encoded in strings using the same format as C++14 binary literals. * JSON Output of Marker Block types for DX12 Consumer * Improved DX12 Enum To String * OutputStream Write std::string_view Writing string views lets it write literal C-strings without specifying the length and also std::strings. * FileOutputStream Additions * Reset() to change to a new file. * FileNoLockOutputStream derived for when the destination file needs no thread locking to syncronize access. * Renamed vulkan_json_util.h to json_util.h and moved from decode to util * Use in String Streams or out, not in/out in several places. 🫳 🎤 --------- Co-authored-by: bradgrantham-lunarg <50641407+bradgrantham-lunarg@users.noreply.github.com>
- Loading branch information
1 parent
be08673
commit 548080b
Showing
86 changed files
with
31,066 additions
and
29,079 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
Oops, something went wrong.