File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -1079,26 +1079,6 @@ void SemaHLSL::ActOnFinishRootSignatureDecl(
1079
1079
1080
1080
bool SemaHLSL::handleRootSignatureDecl (HLSLRootSignatureDecl *D,
1081
1081
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
1102
1082
using RangeInfo = llvm::hlsl::rootsig::RangeInfo;
1103
1083
using OverlappingRanges = llvm::hlsl::rootsig::OverlappingRanges;
1104
1084
You can’t perform that action at this time.
0 commit comments