o3de / o3de-azslc

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

[ATOM-16291] AZSLc: SRG Layout Offset Incorrect When Struct Ends in f… #2

Closed galibzon closed 3 years ago

galibzon commented 3 years ago

[ATOM-16291] AZSLc: SRG Layout Offset Incorrect When Struct Ends in float3x3

This is version 1.7.25.

The fix, when aligning according to dx12 rules, was to do nothing when Alignment was requested upon "struct" ending.

Adjusted expected test results.

Validated all the changes with Tim Jones shader playground.

Signed-off-by: garrieta garrieta@amazon.com