[clang] [llvm] [DirectX] Removing dxbc DescriptorRange from mcbxdc (PR #154629)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 29 18:33:10 PDT 2025


================
@@ -568,12 +568,7 @@ Error MetadataParser::validateRootSignature(
     case dxbc::RootParameterType::DescriptorTable: {
       const mcdxbc::DescriptorTable &Table =
           RSD.ParametersContainer.getDescriptorTable(Info.Location);
-      for (const dxbc::RTS0::v2::DescriptorRange &Range : Table) {
-        if (!hlsl::rootsig::verifyRangeType(Range.RangeType))
-          DeferredErrs =
-              joinErrors(std::move(DeferredErrs),
-                         make_error<RootSignatureValidationError<uint32_t>>(
-                             "RangeType", Range.RangeType));
----------------
joaosaffran wrote:

 Range type should've been verified and converted to an enum by this point, so this check don't make sense anymore. 

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


More information about the llvm-commits mailing list