Open
Description
This issue tracks the work to abstract out the logic of detecting resource range overlap from SemaHLSL
into the RootSignatureValidations
library.
This logic includes the detection of if the ResourceClass
, space
and visibility
are overlapping and thus the underlying ranges overlap contained in the handleHLSLRootSignatureDecl
function here.
This is a non-functional change, but it will require a slight change to the RangeInfo
structure such that each RangeInfo
can be mapped back to its RootElement
. The proposed solution is to use an Index
on each RangeInfo
that will retain this.
AC:
- Update
RangeInfo
to have anIndex
field that can be used to map back to its relevant diagnostic information - Move the validation logic from
SemaHLSL
toRootSignatureValidations
- Update
SemaHLSL
to use the new interface for the validations
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Planning