diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2024-11-06 16:42:46 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-06 16:42:46 -0800 |
| commit | 65de5452b71a311d66169ea16334e84d7e6465c1 (patch) | |
| tree | 761919385f68123e00657794400fc463e371c0d1 /tests | |
| parent | 989847f6a9408b68e90ac242f4a19d3266054c3e (diff) | |
Fix the WGSL error about semantic when a nested struct is inlined (#5506)
After a struct with a semantic is inlined to a newly synthasized struct,
the previous semantic must be removed in order to avoid duplicated
semantic on the same location.
The following function is copied from slang-ir-metal-legalize.cpp,
- removeSemanticLayoutsFromLegalizedStructs()
This must be refactored to reduce the code duplication later.
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
