o3de / o3de-azslc

Amazon Shader Language (AZSL) Compiler
Other
23 stars 14 forks source link

Validate shader build pipeline with DXC 1.6.2106+. Validate data layout produced '-fvk-use-dx-layout' matches dx12 rules. #9

Open galibzon opened 3 years ago

galibzon commented 3 years ago

In response to github issue https://github.com/o3de/o3de-azslc/issues/8, AZSLc has a feature that checks for potential data alignment errors that occur due to unexpected results with '-fvk-use-dx-layout'. DXC 1.6.2106+ fixes '-fvk-use-dx-layout'.

This ticket is about validating that '-fvk-use-dx-layout' is fixed with DXC 1.6.2106+, and in such case, the changes to AZSLc should be reverted. Also the whole shader build pipeline for O3DE should be revalidated. If everything works then the shader build pipeline should also be upgraded to DXC 1.6.2106+