o3de / o3de-azslc

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

Fix a crash #86

Closed siliconvoodoo closed 11 months ago

siliconvoodoo commented 11 months ago

in impact analysis caused by functions with no definition bodies.

This was discovered while working on shader management console, because of working with the latest version of standard PBR that has a late-user-implementation GetDepth function. No bodies are tolerated, so this PR fixes the fact that activating cost impact analysis makes azslc crash on them. This is not critical since the azslc binary that does that isn't live yet if I recall correctly.

siliconvoodoo commented 11 months ago

just version bump added after review. merging.