CaffeineMC / sodium

A Minecraft mod designed to improve frame rates and reduce micro-stutter
Other
4.82k stars 809 forks source link

Split Fabric Rendering API support code into an optional module #2900

Open jellysquid3 opened 2 hours ago

jellysquid3 commented 2 hours ago

Right now, the development of Sodium for Minecraft 1.21.4 is blocked on upstream's port of Fabric Rendering API. We need to find a way to make this dependency optional so that we can get unblocked and avoid delays in the future.

The work involved to do this looks to be significant, and there is no way it can be done in the next day. As a stop-gap solution, we may need to distribute a patched version of the upstream module so that we can release on time.

jellysquid3 commented 2 hours ago

Fabric API has a very large outstanding pull request (https://github.com/FabricMC/fabric/pull/4247) that is being actively updated, which Sodium is currently targeting in a snapshot branch. But there were some breaking changes made today that we still need to adapt for, and there are not yet any reviews.

jellysquid3 commented 1 hour ago

Pepper let me know that they are expecting to be able to merge the pull request today, which would unblock things.

jellysquid3 commented 1 hour ago

Fabric API 0.110.5 has been released, which should allow us to complete our port. I will reduce the priority of this issue as a result.