Vulkan-Samples
MoltenVK
Vulkan-Samples | MoltenVK | |
---|---|---|
44 | 103 | |
3,933 | 4,548 | |
1.7% | 1.0% | |
9.2 | 9.0 | |
6 days ago | 1 day ago | |
C++ | Objective-C++ | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Vulkan-Samples
-
Google's First Tensor Processing Unit: Architecture
Vulcan is a driver-level API. It competes with DirectX and OpenGL.
CUDA is a language you write kernels. It competes with OpenAI's Triton language.
Here's what CUDA looks like: https://github.com/tspeterkim/flash-attention-minimal/blob/m...
This is what Triton looks like: https://triton-lang.org/main/getting-started/tutorials/06-fu...
By contrast Vulcan looks like this: https://github.com/KhronosGroup/Vulkan-Samples/blob/main/sam...
(It's true to some extent that maybe you could use Vulcan shaders to write deep learning kernels, maybe? I'm not aware of anyone doing it though)
-
Question regarding descriptor set binding invalidation/disturbing over pipeline boundaries
Hi, i'm looking into descriptor indexing and was looking at the Vulkan-Samples repo. I finally thought i understood how the set binding invalidation works (like a stack?). In the code below both the non_uniform_indexing pipeline and the update_after_bind pipeline use the immutable sampler descriptor in their fragment shader. But since the descriptor set = 0 is rebound, won't the immutable sampler in set = 1 from the "non_uniform_indexing" pipeline be "disturbed" and have to be rebound?
- New Vulkan Sample - VK_EXT_extended_dynamic_state2 Extension
-
Show HN: A tutorial for building a 2D game engine with Go and OpenGL
and see if it works.
[1] https://github.com/KhronosGroup/Vulkan-Samples/blob/main/sam...
- New Vulkan sample - VK_EXT_full_screen_exclusive
-
Mesh Shader Sample
In this new sample, we see how to incorporate the Vulkan extension VK_EXT_mesh_shader and introduce per primitive culling in a mesh shader. https://github.com/KhronosGroup/Vulkan-Samples/tree/main/samples/extensions/mesh_shader_culling
- New Extension Sample: VK_EXT_swapchain_maintenance1
-
Looking for resources / mentor
Also beginner here, I think you can learn other's codes to get a better understanding of the API by learning how others can abstract these concept into higher level. They're many great projects out there like Google's pbr renderer filament https://github.com/google/filament, AMD's gltf sample https://github.com/GPUOpen-LibrariesAndSDKs/glTFSample and also as many suggested, the Sascha Willems's repos https://github.com/SaschaWillems and the official sample https://github.com/KhronosGroup/Vulkan-Samples
-
Recommendations on how to start a small Vulkan project
Another way I saw some projects start was by using example base classes (either Sascha Willems' implementations or the framework used by Khronos Samples).
- Can anyone give valid reasons why game engines are any easier to use than just programming with something like Vulkan?
MoltenVK
- MoltenVK is a layered implementation of Vulkan 1.2
-
Valve Says Counter-Strike 2 for macOS Not Happening, There Aren't Enough Players
https://github.com/KhronosGroup/MoltenVK
Translating between rendering APIs is not really the problem. The GPU design is more different than the API is.
-
Meta Releases Intermediate Graphics Library
Khronos maintains MoltenVk though, which is "official" as it gets: https://github.com/KhronosGroup/MoltenVK
...technically, Vulkan on Windows is also only supported via 3rd-parties (the GPU vendors), Microsoft doesn't support Vulkan either ;)
-
I love the ally, but fuck Windows
MoltenVK implements large parts of Vulkan on top of Metal for Apple systems. It isn't full Vulkan but it makes porting Vulkan games to OS X easier.
- Apple releases a Game Porting Tool, based on open-source platform Wine, which can translate DirectX 12 into Metal 3, a potentially massive step for Mac gaming
- Appleās Game Porting Toolkit is Wine
-
CrossOver announces DirectX 12 support coming to macOS this summer
That's cool. Maybe I haven't thought enough about this. Let me check it out. FWIW it's this PR that you are referring to I think: https://github.com/KhronosGroup/MoltenVK/pull/1815/
-
Apple Begins Testing Speedy M3 Chips as It Pursues Mac Comeback
For Metal specifically, they could adopt and contribute to Vulkan and get access to a lot more software. Right now you need to use a compatibility layer, and surely Apple could just support both APIs natively with much lower overhead. But they don't, because it nudges developers to stick to the Apple ecosystem instead of being able to support multiple platforms.
-
What do we miss to play DirectX 12 Games on Mac?
At the moment the most promising thing is MoltenVK (DX12 -> DXVK -> Vulkan -> MoltenVK -> Metal), but the development is not that quick mainly because there aren't tons of developer that works at the same time on the project. It's not actually a Metal related problem at the moment (they have a road map of things that they can be achieved with Metal 3 like Mesh shader and Geometry shader).
-
Is there a good reason to not allow vulkan on macos as another option?
What you asked is already existed for at least 8 years. Yeah EIGHT years. It's called "MoltenVK". So far it's the only implementation of Vulkan for macOS. Basically it's a wrapper that runs on top of Metal API.
What are some alternatives?
Vulkan - Examples and demos for the new Vulkan API
DXVK-macOS - Vulkan-based implementation of D3D10 and D3D11 for macOS / Wine
renderdoc - RenderDoc is a stand-alone graphics debugging tool.
metal-cpp - Metal-cpp is a low-overhead C++ interface for Metal that helps developers add Metal functionality to graphics apps, games, and game engines that are written in C++.
vulkano - Safe and rich Rust wrapper around the Vulkan API
MoltenGL
bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
FF14-MAC_ModSupport - Alternative method of running FFXIV on Mac with Mod Support.
VulkanHelper - A simple helper interface between Vulkan C API and C++ containers
dxvk - Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine
glTF-Sample-Models - glTF Sample Models
dxvk-async