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
[x] Bug fix (non-breaking change which fixes an issue)
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation comments
Description
Changes texture array storage mode from default
Managed
toShared
. 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: