-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Segfault on Wayland when closing the client
(i.e. Wayland is fussy about the order, and Window handle must be destroyed after the Swapchain and vkInstance, and not before) Rebase This reverts commit 7eb7a5f. Refactor Chunk rendering + Improve Draw Direct Performance Make PushConstants per ChunkArea instead of per RenderSection; Reduces PushConstant CPU usage by over 100x in DrawCall heavy scenarios Use compile time length for ChunkArea SectionQueues to improve JIT Optimisations Merge Direct/Indirect Shaders: Use same shader for both Direct and Draw Indirect + remove Indirect Pipeline Skip 0 index (i.e. empty draw calls) checks + reduce DescriptorSet binding Frequency Faster Gaussian Sky Blending [GPU Optimisation]: Separate VertexBuffers per RenderType Use Queue Enum + Split CommandPools based on Queue/Operation Type Dedicated Transfer Queue specific fixes Enable VK12 VMA Features Bizarrely Improves Performance by at least 15/20% according to initial testing Optimise Chunk Shader (May either have no performance improvement and/or have possible Shader/Visual artefacts) Early-Z Optimisations + Reduce AreaBuffer Fragmentation + Final Cleanup (Quick Summary) * Align Sizes to power of 2 * Reduce Pipeline Binding Frequency * Refactor ChunkTask to use RenderType enums to reduce CPU + * improve JIT optimisations * Try to use Early-Z on Translucent RenderType Fix Segfault on Wayland when closing the client (i.e. Wayland is fussy about the order, and Window handle must be destroyed after the Swapchain and vkInstance, and not before) Revert "Rebase" This reverts commit f0382e3.
- Loading branch information
Showing
5 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters