[llvm-branch-commits] [clang] [llvm] [DirectX] Validate if Textures/TypedBuffers are being bound in Root Signatures (PR #147573)

Finn Plummer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jul 17 11:16:07 PDT 2025


================
@@ -249,6 +260,20 @@ getRootSignature(RootSignatureBindingInfo &RSBI,
   return RootSigDesc;
 }
 
+static void reportInvalidHandleTy(
+    Module &M,
+    const iterator_range<SmallVectorImpl<dxil::ResourceInfo>::iterator>
----------------
inbelic wrote:

nit:
```suggestion
    dxil::ResourceInfo::iterator_range
```

Although you might be able to just have `ArrayRef<ResourceInfo>` and the range will get casted to it? I am not sure

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


More information about the llvm-branch-commits mailing list