Skip to content

Commit b316f96

Browse files
committed
rebase fix: comment accidently remained
1 parent 337e258 commit b316f96

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

clang/lib/Sema/SemaHLSL.cpp

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,26 +1079,6 @@ void SemaHLSL::ActOnFinishRootSignatureDecl(
10791079

10801080
bool SemaHLSL::handleRootSignatureDecl(HLSLRootSignatureDecl *D,
10811081
SourceLocation Loc) {
1082-
// The following conducts analysis on resource ranges to detect and report
1083-
// any overlaps in resource ranges.
1084-
//
1085-
// A resource range overlaps with another resource range if they have:
1086-
// - equivalent ResourceClass (SRV, UAV, CBuffer, Sampler)
1087-
// - equivalent resource space
1088-
// - overlapping visbility
1089-
//
1090-
// The following algorithm is implemented in the following steps:
1091-
//
1092-
// 1. Collect RangeInfo from relevant RootElements:
1093-
// - RangeInfo will retain the interval, ResourceClass, Space and Visibility
1094-
// 2. Sort the RangeInfo's such that they are grouped together by
1095-
// ResourceClass and Space (GroupT defined below)
1096-
// 3. Iterate through the collected RangeInfos by their groups
1097-
// - For each group we will have a ResourceRange for each visibility
1098-
// - As we iterate through we will:
1099-
// A: Insert the current RangeInfo into the corresponding Visibility
1100-
// ResourceRange
1101-
// B: Check for overlap with any overlapping Visibility ResourceRange
11021082
using RangeInfo = llvm::hlsl::rootsig::RangeInfo;
11031083
using OverlappingRanges = llvm::hlsl::rootsig::OverlappingRanges;
11041084

0 commit comments

Comments
 (0)