================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to