Repository navigation
Conversation
Decode Shader.ResolvedShader in CodableResolvedPaint, add GraphicsContext.Shading.shader(_:bounds:), and animate shader arguments through _ShapeStyle_Pack.Fill.AnimatableData.
Update DarwinPrivateFrameworks and OpenRenderBox to the device API changes. Keep Shader.compile(as:) available on targets without Dispatch.
Update the RenderBox dependencies and use their shared fill and filter options in shader resolution and tests.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b6dc6b45b3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| case (1, let .float4(x, y, z, w)), (5, let .float4(x, y, z, w)): | ||
| shader.setArgument((x, y, z, w), at: index, type: argument.type, flags: argument.flags) |
There was a problem hiding this comment.
Match argument type 4 when updating float4 animation values
When a shader's .float4(...) argument is animated, it is bound with RenderBox type 4 and extracted as a .float4 animation element, but this branch matches types 1 and 5 instead. Consequently, updating(rbShader:) falls through without writing the interpolated value, leaving float4 uniforms unchanged during animations of shader fills and effects. Match type 4 rather than 1 here so the animated components reach the copied shader.
Useful? React with 👍 / 👎.
🛠️ Tuist Run Report 🛠️Tests 🧪
Failed Tests ❌
Builds 🔨
Reported by Tuist, faster builds and reliable tests for Xcode, Gradle, Bazel, and more. |
Summary
Shader,ShaderLibrary, andShaderFunctionwith argument binding and asynchronous compilation.GraphicsContext.Shading.shaderfactory.Close #1223.
Dependency