Skip to content

Allow string table in the PSV0 part to have a different order than DXC during validation #6817

Closed

Description

@python3kgae

Is your feature request related to a problem? Please describe.
Currently, dxil validator will make sure PSV0 part matches the PSV0 part generated from dxc.
That requires all the names in PSV0 string table have same order and cause duplicate names.

Describe the solution you'd like
Sort the string table in validation.
This will only affect the validator. All other part of DXC will be the same.

Describe alternatives you've considered
Require string table to be sorted in PSV0 part.
This will require update the Dxil Container builder.

Additional context
Doc about string table in PSV0 part

Activity

  1. added
    enhancement
    needs-triage
    on Jul 24, 2024
  2. added
    bug
    and removed
    enhancement
    needs-triage
    on Jul 24, 2024
  3. changed the title [-][Feature Request] Allow string table in the PSV0 part to have a different order than DXC during validation.[/-] [+]Allow string table in the PSV0 part to have a different order than DXC during validation[/+] on Jul 24, 2024
  4. added
    validation
    on Jul 24, 2024
  5. moved this from New to Backlog in HLSL Roadmapon Jul 24, 2024
  6. llvm-beanz commented on Jul 24, 2024

    @llvm-beanz
    Collaborator

    This impacts more than just PSV0. All of the container parts except the DXIL bitcode are validated this way. Correcting this will require design work and significant investment.

  7. 1 remaining item

  8. moved this from In progress to Done in HLSL Roadmapon Oct 3, 2024
  9. added a commit that references this issue on Oct 3, 2024
    9221570
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugvalidation

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions