Update elements of the tree as overlapping mappings are encountered, sub-elements of a previously mapped variable i.e. single component of a vector, single array element, member in a structure.
After processing all mappings convert the finalized type usage tree into source variable mappings.
Fixed bug in LocalMapping::isSourceSupersetOf where it would mis-identify a superset
Update struct member and array element names of SPIRV constants
array names and struct member names are not set when constants are created (struct decoration data is not available)
Fixes problem with incorrect register names when using struct, array initialisers.
Testing
Test HLSL shader compiled using DXC, Slang, glslang
Description
LocalMapping::isSourceSupersetOf
where it would mis-identify a supersetTesting
Test HLSL Shader
OpDebugValue.hlsl