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

Latte code clean up + Proper support for SAMPLE_LB shader instruction #1042

Merged
merged 3 commits into from
Dec 13, 2023

Conversation

Exzap
Copy link
Member

@Exzap Exzap commented Dec 13, 2023

This PR is mostly for cleaning up old OpenGL mannerisms in the shared renderer code. While doing this I noticed that the SAMPLE_LB shader instruction was never correctly implemented so I added that now. The only shaders that I could find which use this instruction are the terrain shaders in BotW. But I couldn't really see a visual difference after the fix.

Also for OpenGL we now have some wrappers to emulate DSA-style API even if the driver doesn't provide the actual extension. This simplifies the GL renderer code a bit since we don't have to worry about altering the render state when creating or updating textures

@Exzap Exzap merged commit 2167143 into cemu-project:main Dec 13, 2023
5 checks passed
@MaranBr
Copy link

MaranBr commented Dec 13, 2023

Super Mario 3D World crashes on opening.

@Exzap
Copy link
Member Author

Exzap commented Dec 13, 2023

Thanks for letting me know. It crashes on my end too, I'll look into it

@Exzap Exzap deleted the misc-fixes-14 branch December 13, 2023 16:49
@Exzap
Copy link
Member Author

Exzap commented Dec 13, 2023

d2ba4e6 should fix it.

@MaranBr
Copy link

MaranBr commented Dec 13, 2023

Confirmed. The game is working again, thank you!

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