Skip to content

Adding root signature to shader binary fails #2551

@MehdiNS

Description

@MehdiNS

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions