[llvm] [HLSL] Add support to lookup a ResourceBindingInfo from its use (PR #126556)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 14 15:39:05 PST 2025


================
@@ -446,6 +446,10 @@ class DXILBindingMap {
     return Pos == CallMap.end() ? Infos.end() : (Infos.begin() + Pos->second);
   }
 
+  // Resoloves the use of a resource handle into the unique description of that
+  // resource by deduping calls to create.
----------------
bogner wrote:

Use `///` so doxygen can pick up the comment here. Also, I think this description predates this returning a vector - we should point out that this gives us the set of possible resources in cases that are ambiguous.

https://github.com/llvm/llvm-project/pull/126556


More information about the llvm-commits mailing list