stackotter / delta-client

An open source Minecraft Java Edition client built for speed.
https://deltaclient.app
GNU General Public License v3.0
328 stars 32 forks source link

Resolved texture memory and depth buffer issues. #40

Closed gracien-app closed 3 years ago

gracien-app commented 3 years ago

Description

Changes texture array storage mode from default Managed to Shared. Data is updated by CPU, and accessed by GPU, preserving two separate copies of the resource is not necessary. Yields possible performance gains for discrete memory models.

Resolves issues on M1 machines where translucent blocks are rendered on top of all other geometry (#22). Caused by lack of explicit setting for depthAttachment.storeAction which defaults to .dontCare. This impacted TBDR GPU's where buffer was cleared between two passes. Change shouldn't affect IMR GPU's.

Type of change

Checklist:

ninjadev64 commented 3 years ago

nice