| 477 | } |
| 478 | |
| 479 | bool IsConsistentGlobalComponentDefinition(ShaderComponentSymbol * comp0, ShaderComponentSymbol * comp1) |
| 480 | { |
| 481 | if (comp0->Type->DataType != comp1->Type->DataType) |
| 482 | return false; |
| 483 | if (comp0->Implementations.First()->Worlds.Count() != comp1->Implementations.First()->Worlds.Count()) |
| 484 | return false; |
| 485 | for (auto w : comp0->Implementations.First()->Worlds) |
| 486 | if (!comp1->Implementations.First()->Worlds.Contains(w)) |
| 487 | return false; |
| 488 | return true; |
| 489 | } |
| 490 | |
| 491 | void GatherComponents(DiagnosticSink * err, ShaderClosure * closure, ShaderClosure * subClosure) |
| 492 | { |
no test coverage detected