Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Chunk Uploads + Enum Refactors] Improve Chunk upload speed + Refactor MemoryTypes and VkQueues #393

Open
wants to merge 9 commits into
base: 1.20.x
Choose a base branch
from

Conversation

thr3343
Copy link
Contributor

@thr3343 thr3343 commented Apr 6, 2024

Cleans up significant boilerplate in several classes related to MemoryTypes + Queues, and replaces them with a much more readable and easier to use Enum-based system

This PR also corrects a mistake where cached system RAM was used instead of non-cached VRAM for Chunk uploads.
Which slightly improves the speed of chunk loading and saving.

# Conflicts:
#	src/main/java/net/vulkanmod/vulkan/Drawer.java
#	src/main/java/net/vulkanmod/vulkan/framebuffer/SwapChain.java
#	src/main/java/net/vulkanmod/vulkan/memory/UniformBuffers.java
# Conflicts:
#	src/main/java/net/vulkanmod/render/VBO.java
#	src/main/java/net/vulkanmod/vulkan/memory/AutoIndexBuffer.java
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.

None yet

1 participant