Skip to content

Fix clipped shape rendering with the SwiftUI renderer - #1008

Merged
Kyle-Ye merged 2 commits into
mainfrom
optimize/ui_fix
Aug 22, 2026
Merged

Kyle-Ye merged 2 commits into
mainfrom
optimize/ui_fix

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Aug 22, 2026 •

Copy link
Copy Markdown
Member

Summary

Generated projects package OpenSwiftUI_SPI as a static framework, allowing the linker to omit the translation unit containing the SwiftUI renderer interpose registrations.

Add an explicit link anchor so those registrations are included when using the SwiftUI renderer. This restores the expected color handling for clipped shapes and allows ClipEffectUITests to use exact snapshot comparisons.

@Kyle-Ye

Kyle-Ye commented Aug 22, 2026

Copy link
Copy Markdown
Member Author

/uitest all sui-ag

@github-actions github-actions Bot added area: rendering DisplayList, render backends, renderer hosts, drawing, and effects. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. type: bug Something is not working correctly. labels Aug 22, 2026
@Kyle-Ye Kyle-Ye changed the title Link SwiftUI renderer interposers in generated projects Fix clipped shape rendering with the SwiftUI renderer Aug 22, 2026
@Kyle-Ye
Kyle-Ye merged commit b04d4de into main Aug 22, 2026
3 of 10 checks passed
@Kyle-Ye
Kyle-Ye deleted the optimize/ui_fix branch August 22, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: rendering DisplayList, render backends, renderer hosts, drawing, and effects. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. type: bug Something is not working correctly.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant