Skip to content

[HLSL] Add `obj2yaml' testing of root signatures to execution tests #260

@inbelic

Description

@inbelic

At the moment, the execution test-suites correctly test that the root signature compiles correctly and that we generate the correct directx container to run the test shaders appropriately. However, there is no current tests to check that the specific values of the binary root signature are set as expected.

This issue proposes to use the obj2yaml tool to allow direct inspection of the root signature values.

For instance, we can set offset = DESCRIPTOR_RANGES_OFFSET_APPEND and we want to verify that this value is not computed to a discrete offset in the binary blob.

AC:

  • For each frontend root signature test, here, add an additional RUN line that takes the produced DXContainer and use obj2yaml with FileCheck to ensure all the values are set as expected.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions