[llvm-branch-commits] [clang] [llvm] [HLSL] Remove old resource annotations (PR #130338)
Helena Kotas via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Mar 7 14:05:00 PST 2025
================
@@ -125,15 +125,6 @@ class CGHLSLRuntime {
// End of reserved area for HLSL intrinsic getters.
//===----------------------------------------------------------------------===//
- struct BufferResBinding {
----------------
hekota wrote:
The register number and space are used in the `llvm.dx.resource.handlefrombinding` intrinsic call when the code to initialize the resource is generated. Then in the LLVM backed the `DXILResourceBindingAnalysis` analyzes the code and collects information about all the shader resources and their bindings based on these calls. This info is then used by other LLVM passes to make sure we generate the correct "dx.resources" metadata in the DXIL container.
https://github.com/llvm/llvm-project/pull/130338
More information about the llvm-branch-commits
mailing list