DiligentGraphics / DiligentTools

Utilities built on top of core module
Apache License 2.0
116 stars 71 forks source link

RSN parser: deduplicate signatures and render passes #144

Closed TheMostDiligent closed 2 years ago

TheMostDiligent commented 2 years ago

Resource signatures and render passes in the render state notation parser needs to be deduplicated. When a new signature with the same name is found by the parser, it should compare the descriptions and

Same for render passes.

Add unit tests that cover both situations, when signatures/RPs can be duplicated and when there is a conflict.