Skip to content

Feat[main]: add a workaround to ignore program link errors#29

Open
whitebelyash wants to merge 1 commit into
MojoLauncher:masterfrom
whitebelyash:feat/ignore-link-errors
Open

Feat[main]: add a workaround to ignore program link errors#29
whitebelyash wants to merge 1 commit into
MojoLauncher:masterfrom
whitebelyash:feat/ignore-link-errors

Conversation

@whitebelyash

Copy link
Copy Markdown
Contributor

Yes, this MIGHT cause an undefined behavior. But I still prefer having this in LTW for debugging purposes.

Minecraft 26.3-s2 has new shaders around block transparency, however, these shaders aren't handled well by most GLES drivers. Allow an optional workaround to force successful program link status to make the game not blow up.

From my testing on ANGLE (one of the problematic drivers) the only thing breaking is transparent blocks - it's quite hard to call them broken though, just a bit weird.

The error itself is seemingly unrelated to our shader transpiler and can be reproduced on other GLES wrappers.

Minecraft 26.3-s2 has new shaders around block transparency, however, these shaders aren't handled well by most GLES drivers. Allow an optional workaround to force successful program link status to make the game not blow up.

From my testing on ANGLE (one of the problematic drivers) the only thing breaking is transparent blocks - it's quite hard to call them broken though, just a bit weird.

The error itself is seemingly unrelated to our shader transpiler and can be reproduced on other GLES wrappers.
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.

1 participant