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

Vulkan: Automatically generate mipmaps for replaced/scaled textures #13514

Merged
merged 3 commits into from
Oct 6, 2020

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Oct 5, 2020

Scaled textures always lack mipmaps (as we only scale the top layer) and replaced textures may lack them.

This generates as many mipmaps as the game had normally specified (later it may be an option to generate more). Mipmaps improve performance and image quality.

This implements it for Vulkan only. OpenGL already has this to some extent.

Also deletes some useless special casing for png loading in Qt builds.

@hrydgard hrydgard added the GE emulation Backend-independent GPU issues label Oct 5, 2020
@hrydgard hrydgard added this to the v1.11.0 milestone Oct 5, 2020
@hrydgard hrydgard added the Vulkan label Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GE emulation Backend-independent GPU issues Vulkan
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant