You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow string table in the PSV0 part to have a different order than DXC during validation #6817
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.
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
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.
Activity
[-][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[/+]llvm-beanz commentedon Jul 24, 2024
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.
1 remaining item
[NFC] Move DxilValidation to a dedicated folder. (#6849)
[NFC] add utils for PSV. (#6869)
[Dump] Fix PSV dump issues. (#6881)
[ViewID] build viewid mask for primitive output (#6886)
[Validator] Check content of PSV0 part in validation (#6859)
[Validator] Check size of PSV. (microsoft#6924)
[NFC] Move DxilValidation to a dedicated folder. (microsoft#6849)
[NFC] add utils for PSV. (microsoft#6869)
[Dump] Fix PSV dump issues. (microsoft#6881)
[ViewID] build viewid mask for primitive output (microsoft#6886)
[Validator] Check content of PSV0 part in validation (microsoft#6859)
[Validator] Check size of PSV. (microsoft#6924)