[all-commits] [llvm/llvm-project] 6a8899: [HLSL][RootSignature] Enable resource range analys...
Finn Plummer via All-commits
all-commits at lists.llvm.org
Tue Jun 24 09:11:45 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6a8899cee7131c7678d72f29cc080bc6f1d3a124
https://github.com/llvm/llvm-project/commit/6a8899cee7131c7678d72f29cc080bc6f1d3a124
Author: Finn Plummer <finn.c.plum at gmail.com>
Date: 2025-06-24 (Tue, 24 Jun 2025)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaHLSL.cpp
M clang/test/AST/HLSL/RootSignatures-AST.hlsl
M clang/test/SemaHLSL/RootSignature-resource-ranges-err.hlsl
M clang/test/SemaHLSL/RootSignature-resource-ranges.hlsl
Log Message:
-----------
[HLSL][RootSignature] Enable resource range analysis for remaining `RootElement`s (#145109)
As implemented previously
https://github.com/llvm/llvm-project/pull/140962.
We now have a validation pass to ensure that there is no overlap in the
register ranges of the associated resources. However, in the previous
pr, for the sake of brevity, we only "collected `RangeInfo`" for Root
Descriptors. This means the analysis is not run on any other
`RootElement` type.
This pr simply implements the collection of `RangeInfo` for the
remaining types so that the analysis is run account for all
`RootElement` types.
Additionally, we improve the diagnostics message to display `unbounded`
ranges.
Part 3 of and Resolves
https://github.com/llvm/llvm-project/issues/129942.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list