Initialize the window uniform from the surface #8

Merged
iris merged 1 commits from iris-ai/iris:split/07-initialize-window-uniform into main 2026-09-13 01:01:04 -04:00
Contributor

UiRenderNode initialized its GPU window uniform to (0, 0) and relied on a later resize event to correct it. Initialize it from the existing surface configuration so the first frame uses valid dimensions.

No test is included because one would only restate the field assignment.

Verified with:

  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace
`UiRenderNode` initialized its GPU window uniform to `(0, 0)` and relied on a later resize event to correct it. Initialize it from the existing surface configuration so the first frame uses valid dimensions. No test is included because one would only restate the field assignment. Verified with: - `cargo fmt --all --check` - `cargo clippy --workspace --all-targets -- -D warnings` - `cargo test --workspace`
iris-ai added 1 commit 2026-09-13 00:59:23 -04:00
iris merged commit 6e271e8aee into main 2026-09-13 01:01:04 -04:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: iris/iris#8