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

Color format cleanups #15749

Merged
merged 4 commits into from
Jul 30, 2022
Merged

Color format cleanups #15749

merged 4 commits into from
Jul 30, 2022

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Jul 29, 2022

I'm on a deep yak shaving quest here. The origin was the 3D texture thing (#15727 ), then when trying to expand that to more backends than Vulkan, I found I needed to refactor texture loading (#15743), which spawned a number of cleanup tasks when I ran into things that were silly and/or outdated.

This one removes the ReplaceTextureFormat enum (which had 7 unused members) and their related code, keeping only the case we are currently actively using. Then I found out that some parameters were always false these days now that we switch R/B in the shaders for the D3D backends, so cleaned up more stuff. Good to get in separately.

@hrydgard hrydgard added this to the v1.14.0 milestone Jul 29, 2022
@hrydgard hrydgard added the Code Cleanup Cleanup to make future work easier. Needs to be done sometimes. label Jul 29, 2022
@Anuskuss
Copy link
Contributor

bryan-cranston-replace-the-bulb

@hrydgard hrydgard merged commit 7d4d925 into master Jul 30, 2022
@hrydgard hrydgard deleted the color-format-cleanup branch July 30, 2022 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Cleanup Cleanup to make future work easier. Needs to be done sometimes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants