This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Description
Describe the bug
run ShaderConductorTest ,and crash on LinkTest
To Reproduce
- vs2019 on Win10 Debug and x64 build
- commit id: 30a77c7 branch: maset
- start up with ShaderConductorTest
- console log :
[----------] 1 test from LinkTest
[ RUN ] LinkTest.LinkDxil --- after here, program crash
program is runing TEST(LinkTest, LinkDxil) at ShaderConductorTest.cpp
- crash info
DxilContainerReflection.cpp
DxilModuleReflection::_GetConstantBufferByName(LPCSTR Name)
crash on "if (it != m_StructuredBufferCBsByName.end()) " map/set iterators in range are from different containers
Name is "cbPS" which i found that in "ShaderConductor/Source/Tests/Data/Input/CalcLight.hlsl"
m_StructuredBufferCBsByName size() is 0
but
m_CBsByName size() is 1 and m_CBsByName contains "cbPS"