[clang] [llvm] [Sema][Parse][HLSL] Implement front-end rootsignature validations (PR #156754)
Farzon Lotfi via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 5 08:28:38 PDT 2025
================
@@ -1331,12 +1331,48 @@ bool SemaHLSL::handleRootSignatureElements(
std::get_if<llvm::hlsl::rootsig::DescriptorTable>(&Elem)) {
assert(UnboundClauses.size() == Table->NumClauses &&
"Number of unbound elements must match the number of clauses");
+ bool HasSampler = false;
+ bool HasNonSampler = false;
----------------
farzonl wrote:
can you change the naming to something like `HasAny*`?
https://github.com/llvm/llvm-project/pull/156754
More information about the cfe-commits
mailing list