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

Allow enabling computed mipmaps in LargeTextureStore #6048

Merged
merged 8 commits into from Nov 17, 2023

Conversation

EVAST9919
Copy link
Contributor

@bdach
Copy link
Collaborator

bdach commented Nov 16, 2023

No testing whatsoever?

@EVAST9919
Copy link
Contributor Author

Added 👌

@peppy peppy self-requested a review November 16, 2023 08:19
[BackgroundDependencyLoader]
private void load(IRenderer renderer, GameHost host, Game game)
{
dependencies.CacheAs(new LargeTextureStore(renderer, host.CreateTextureLoaderStore(new NamespacedResourceStore<byte[]>(game.Resources, "Textures")), manualMipmaps: false));
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Setting manualMipamaps: true doesn't change anything in the test.

I'd hope the test shows the difference between the two.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Setting manualMipamaps: true doesn't change anything in the test.

That's weird, for me the difference is very clear (I'm on D3D)

Copy link
Sponsor Member

Choose a reason for hiding this comment

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

May have been hot reload failing. But I'd also hope the test can be run in both modes. I don't want to have to change code each time I want to check a test.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will do. Was just trying to ensure it works for you and not a renderer issue or something.

@peppy peppy self-requested a review November 16, 2023 11:41
@peppy peppy enabled auto-merge November 17, 2023 05:52
@peppy peppy merged commit e36671d into ppy:master Nov 17, 2023
13 checks passed
@EVAST9919 EVAST9919 deleted the large-texture-mipmaps branch November 17, 2023 06:07
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.

None yet

3 participants