Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Egui, one sampler per texture #218

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Conversation

EriKWDev
Copy link
Contributor

@EriKWDev EriKWDev commented Dec 8, 2024

During the egui investigation you mentioned the difference in samplers in blade implementation #215 (comment).

Extracted the code from the PR #216 that creates a sampler per texture if interesting.

One could create only the sampler permutations requested and lookup based on the options hash during rendering, but this felt simpler

This does not address any issue I have seen, so could also be left as is.

@EriKWDev EriKWDev mentioned this pull request Dec 8, 2024
Copy link
Owner

@kvark kvark left a comment

Choose a reason for hiding this comment

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

Nice, thank you!

@kvark kvark enabled auto-merge (rebase) December 9, 2024 02:20
@kvark kvark merged commit ea25b77 into kvark:main Dec 9, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants