Skip to content

Conversation

@emilk
Copy link
Owner

@emilk emilk commented Oct 7, 2025

My hope is that this will help in making kittest snapshot images come out the same on all hardware.

I ran UPDATE_SNAPSHOTS=force cargo test --all-features --worskapce on main before, and there was no change (i.e. all images on main are already pixel-perfect as they would be generated on my Mac).

After the texture filtering change, all tests still passed, but using UPDATE_SNAPSHOTS=force again I see a bunch of smaller changes in some of the images.

@github-actions
Copy link

github-actions bot commented Oct 7, 2025

Preview available at https://egui-pr-preview.github.io/pr/7602-emilkpredictable-texture-filtering
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

View snapshot changes at kitdiff

@emilk emilk requested a review from aedm October 8, 2025 13:08
Copy link
Collaborator

@aedm aedm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff!

@emilk emilk merged commit 47a4374 into main Oct 8, 2025
47 checks passed
@emilk emilk deleted the emilk/predictable-texture-filtering branch October 8, 2025 14:24
@MichaelGrupp
Copy link
Contributor

Hello fellow kittest enjoyers... I think this predictable filtering might have caused some unpredictable issue 😅 #7630

@emilk
Copy link
Owner Author

emilk commented Oct 13, 2025

D'oh - good catch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants