Bulk update of extracted Apple sample-code archives from /Users/mmj/.cupertino/sample-code/, the source the v1.0.0 / v1.0.1 release database bundles indexed. 627 source zips processed: - 619 extracted successfully - 8 invalid zips skipped (samplecode.zip, accessibility.zip, appintents.zip, ios-ipados-release-notes.zip, watchos-release-notes.zip, visionos-release-notes-visionos-release-notes.zip, updates.zip, technologyoverviews-.zip — all corrupt downloads, not real samples, cupertino crawler #TBD). Result: 632 sample directories (was 606). 1,166 file-level changes: 139 new, 582 modified, 445 deleted. Sample directories whose zips extracted byte-identical to the previous version produce zero git changes. |
||
|---|---|---|
| .. | ||
| Application | ||
| Assets.xcassets | ||
| Configuration | ||
| FunctionPointersAndStitching.xcodeproj | ||
| Renderer | ||
| .gitignore | ||
| LICENSE.txt | ||
| README.md | ||
Customizing shaders using function pointers and stitching
Define custom shader behavior at runtime by creating functions from existing ones and preferentially linking to others in a dynamic library.
Overview
- Note: This sample code project is associated with WWDC2021 session 10229: Discover compilation workflows in Metal and WWDC2022 session 10102: Target and optimize GPU binaries with Metal 3.