All HLSL semantics allow appending a number to the end of the semantic (i.e. SV_Target3), where the number is treated as an argument to the semantic attribute.
This is not to be mistaken for HLSL semantics that take arguments inside () as normal for attributes, which also exist.
We need to be able to support (parse) the optional presence of an index at the end of a semantic annotation.
AC:
update the parser to handle SemanticN syntax and annotations
Update the HLSL spec to outline how these optional parameters are passed
All HLSL semantics allow appending a number to the end of the semantic (i.e. SV_Target3), where the number is treated as an argument to the semantic attribute.
This is not to be mistaken for HLSL semantics that take arguments inside
()
as normal for attributes, which also exist.We need to be able to support (parse) the optional presence of an index at the end of a semantic annotation.
AC: