DXContainer files contain a part that has an MD5 of the generated
shader. This adds support to the ObjectYAML tooling to expand the hash
part data and hash iteself in preparation for adding hashing support to
DirectX code generation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/ObjectYAML/DXContainerYAML.h | ||
---|---|---|
70 | Why use vector here when the size is always 16? |
llvm/include/llvm/ObjectYAML/DXContainerYAML.h | ||
---|---|---|
70 | We can't bind yaml traits to statically sized arrays because YAML doesn't have statically sized arrays. |
llvm/lib/BinaryFormat/DXContainer.cpp | ||
---|---|---|
29 | This doesn't set, it compares. If flags and the digest are all zero'd it wasn't populated, so we can omit it from the textual YAML output. |
Why use vector here when the size is always 16?