xCollateral / VulkanMod

Vulkan renderer mod for Minecraft.
GNU Lesser General Public License v3.0
1.49k stars 176 forks source link

Mesh Shader #257

Open ghost opened 1 year ago

ghost commented 1 year ago

https://github.com/MCRcortex/nvidium

This module uses the GL_NV_mesh_shader to optimize rendering performance, and is only available for NVIDIA.

In Vulkan, there is a cross-vendor mesh shader extension: VK_EXT_mesh_shader

Use this extension to implement mesh shader rendering in VulkanMod, which should improve performance on modern GPUs (NVIDIA Turing+, Intel DG2+, AMD RDNA2+)

Haxorzz commented 11 months ago

Wow, that's an incredible mod. Didn't even know about it. If this mod could make it work on recent AMD gpus it would be amazing! Here's the blog post for VK_EXT_mesh_shader it seems to be very similar to nvidia's original turing mesh shading which is what nvidium uses (they also use the same graphs and images to explain it as nvidia). Hopefulyy this is considered!

KingKrouch commented 7 months ago

Yeah, decided to further look into this mod after seeing a YouTuber cover Nvidium, and it would be really neat to see a more vendor agnostic version of this implemented with this Vulkan renderer.

ikumi90s commented 7 months ago

as an Intel ARK user, this would excite me to use since Vulkan with Intel GPU performs better than OPL and DX12

Haxorzz commented 6 months ago

According to this comment it should be possible to get most of the performance gain without mesh shaders, and on basically every card that supports compute shaders!