aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/HeaderIncludeGen.cpp
diff options
context:
space:
mode:
authorChris Bieneman <chris.bieneman@me.com>2022-12-05 14:21:41 -0600
committerChris Bieneman <chris.bieneman@me.com>2022-12-07 15:22:55 -0600
commitc861ea8736bd8e624f8de6ab9ace90994744fa54 (patch)
tree2ad613d18d75f74995961a3a02fa6c7f65b6bf89 /clang/lib/Frontend/HeaderIncludeGen.cpp
parentf2f8f7095323988523efeba854dfc667542b0d0b (diff)
downloadllvm-c861ea8736bd8e624f8de6ab9ace90994744fa54.zip
llvm-c861ea8736bd8e624f8de6ab9ace90994744fa54.tar.gz
llvm-c861ea8736bd8e624f8de6ab9ace90994744fa54.tar.bz2
Generate DXIL Shader hash
DXIL shader bitcode is hashed and the hash is placed into the final output object file in its own data part. This change modifies the DXContainerGlobals pass to compute the shader hash (just an MD5 of the bitcode) and put the shader hash data into a global for the HASH part. This also sets the hash flag as appropriate for if the hashed shader contained debug information. There is additional handling required to get debug information in shaders working correctly with our tooling, but that will be addressed in subsequent patches. Reviewed By: python3kgae Differential Revision: https://reviews.llvm.org/D139357
Diffstat (limited to 'clang/lib/Frontend/HeaderIncludeGen.cpp')
0 files changed, 0 insertions, 0 deletions