Hello,
I'm trying to add a root signature inside a shader binary.
What I do :
- call Load() to load my shader inside a container
- call AddPart(FOURCC_RTS0, rootSignatureBlob)
- call SerializeContainer(&result) to reconstruct the shader
Problem : a hlsl::Exception exception is raised when I serialize the container.
In CompilerTest.cpp, I saw a test for root signature removal, but not for root signature addition. Could it be that this feature doesn't work?
Cheers,
Mehdi