r/vulkan • u/SaschaWillems • Sep 07 '26
AI disclosure policy for posted content
AI use is a heated topic, esp. in developer communities.
To keep our community transparent and conversations on-topic, we require that you clearly disclose if your content was generated by or with the help of artificial intelligence.
This helps people understand the context of the discussion and keeps our community guidelines clear.
Posts that intentionally misrepresent AI-generated content as entirely human-made may be removed.
How to label: Simply add a quick note (e.g., "[Written with AI assistance]") in the title and/or at the top of your posting.
r/vulkan • u/SaschaWillems • Mar 25 '20
This is not a game/application support subreddit
Please note that this subreddit is aimed at Vulkan developers. If you have any problems or questions regarding end-user support for a game or application with Vulkan that's not properly working, this is the wrong place to ask for help. Please either ask the game's developer for support or use a subreddit for that game.
r/vulkan • u/Euphoric-Life-848 • 2d ago
AI content Spectra: a C++20 plotting library that renders with Vulkan (2D, 3D, live data)
reddit.comr/vulkan • u/_zsharief • 2d ago
torchvulkan: a Vulkan compute backend for PyTorch (talk accepted at Vulkanised 2027)
Hey r/vulkan, I'm excited to share that I've been accepted to speak at Vulkanised 2027 about a project I've been building: torchvulkan, a Vulkan compute backend for PyTorch.
torchvulkan lets you train and run PyTorch models on almost any GPU through Vulkan, including AMD, NVIDIA, Intel and Apple Silicon, without CUDA, ROCm or other vendor toolkits. You install it with pip install torchvulkan, then use "vulkan" the way you'd use "cuda":
model = model.to("vulkan")It's still behind CUDA and ROCm on most workloads, and closing that gap is what I'm working on now. In the meantime, it's a good option for people whose GPUs don't support either. The README has benchmarks, supported platforms and the full API.
I'd love feedback, especially from anyone who tries it on hardware I haven't tested. Happy to answer any questions you may have :)
r/vulkan • u/DNDNJDMSMS • 1d ago
AI content PRISM-NEURO-VOX: I built an 18 KB self-growing 3D ternary neuromorphic engine in bare-metal C11 + Vulkan Compute (No PyTorch, No CUDA, No Backprop)
**[Written & developed with AI assistance]** — English isn't my native language, so I used an LLM to translate/polish this post and the README, and an AI coding agent to iterate on C11/Vulkan boilerplate and shader refactors. However, the core ideas, concepts, architecture, and most of the engine mechanics were created by me, and all hardware runs and Frozen Eval benchmarks were executed and verified locally on my own AMD Radeon R7 M360 (RADV ACO).
Hey everyone! I just open-sourced **PRISM-NEURO-VOX (v3.3.1)** — a zero-multiply, self-growing 3D ternary neuromorphic engine written from scratch in bare-metal **C11 + Vulkan Compute**.
No PyTorch, no CUDA, no backpropagation — everything (physics, neural inference, local plasticity, morphogenesis, and 1080p visualization) runs natively in Vulkan compute shaders.
**What you're seeing in the video:**
* **Left panel:** A 6-DoF embodied agent with a 12-sensor 360° lidar navigating a 3D dynamic SDF arena (static pillars, horizontal bars, and 4 orbiting asteroids).
* **Right panel:** Live spiking 3D neural tissue growing and adapting in real time, rendered via an 8×8 Wave64 LDS tile-culling Vulkan raytracer.
**Key technical details:**
* **18 KB / 64-byte aligned `NeuroMetaCluster`:** Zero-multiply ternary weights with local dopamine-modulated plasticity and autonomous 3D morphogenesis (including post-stroke neural regeneration).
* **Zero cherry-picked physics (Frozen Eval):** All reported metrics (`Goals`, `Cols`, `DynAst`, `AvgReward`) are measured under strict Frozen Eval (`lr = 0`, `eps = 0`, full `PoolA` backup/restore) across 4 corner starts at opposite altitudes (`Z = ±2.8..±3.2`).
* **Runs on potato hardware:** The entire simulation + 1080p Split-Screen render runs at **~46.5 FPS (21.52 ms/frame)** on an old laptop **AMD Radeon R7 M360** (6 CU GCN 1.2 / RADV ACO). *(Next patch `v3.4` is targeting 80–100 FPS by splitting the uber-shader to cut VGPR pressure!)*
**Links:**
* **GitHub (Dual-licensed GNU AGPLv3 / Commercial):** https://github.com/CBNOHSHOFMXPWLMHX/prism-neuro-vox
* **Zenodo Archive (CERN DOI):** https://doi.org/10.5281/zenodo.24798838
Happy to answer any questions about the 64-byte SSBO layout, ternary compute shaders, or the LDS rendering pipeline!
r/vulkan • u/QwertyChouskie • 2d ago
NVK (open Nvidia Vulkan driver) making excellent progress
reddit.comr/vulkan • u/Background_Shift5408 • 3d ago
Built a Vulkan path tracer from scratch
I’ve been working on a GPU path tracer using Vulkan and wanted to share its current state.
The project is written in C++ using Vulkan-Hpp and focuses on a relatively modern Vulkan approach rather than relying on a traditional graphics pipeline.
Some implementation details:
● Vulkan 1.4
● Vulkan-Hpp with RAII
● Dynamic rendering
● Compute shaders for path tracing
● Storage image output
● Timeline semaphores
● Fullscreen triangle for displaying the rendered image
● SDL2 for windowing and input
Currently implemented path tracing with multiple bounces, Monte Carlo sampling, and physically based light transport and concepts from Ray Tracing: The Rest of Your Life, including importance sampling, PDFs, mixture distributions, and light sampling.
It’s been a fun learning experience, especially exploring and practicing slang and vulkan compute.
r/vulkan • u/Latter_Relationship5 • 2d ago
Can some Vulkan knowledge help with learning CUDA?
reddit.comAnyone here used the Odin programming language?
odin-lang.orgBeen trying to decide what to build with, not a game perse, but kinda a tool that's meant to have a renderer: half for work, half for myself, a simulator of sorts dealing with electricity, can't say too much. and was trying to decide whether to start out in C++ or Rust and decided to have a conversation with a clanker and it told me about Odin that seems to have a lot of what I'm looking for. supposedly as performant as C, with a more modern syntax (honestly no separate declarations and not having to juggle header and cpp files as shallow as it is is my main motivation for looking outside my comfort zone of c++), and it seems to already have hooks for my typical go to graphical libraries like SDL. so wanted to ask. How good are their claims on their website? it's been around a while at this point. and seems at least on paper it's basically built for graphical tools. for those that've used it, any gotchas from personal experience. i have to actually maintain this in the future, so I can't just vibe code the entire thing, so want to know what it's like actually programming in this language. particularly in this sub, working with vulkan.
r/vulkan • u/HoldeeYT • 5d ago
Random Line Showing Up?
Hey guys, I'm new to Vulkan and following vulkan tutorial, but out of nowhere this line showed up in my rendering, where it used to be a smooth, clean gradient. All I changed was the way image views were created, here is the function.
VkImageView aqua::SwapChain::createImageView(VkImage image, VkFormat format)
{
VkImageViewCreateInfo viewInfo{};
viewInfo.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO;
viewInfo.image = image;
viewInfo.viewType = VK_IMAGE_VIEW_TYPE_2D;
viewInfo.format = format;
viewInfo.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;
viewInfo.subresourceRange.baseMipLevel = 0;
viewInfo.subresourceRange.levelCount = 1;
viewInfo.subresourceRange.baseArrayLayer = 0;
viewInfo.subresourceRange.layerCount = 1;
VkImageView imageView;
if (vkCreateImageView(glbs.device, &viewInfo, nullptr, &imageView) != VK_SUCCESS)
throw std::runtime_error("failed to create texture image view!");
return imageView;
}The swapchain uses this function in createImageViews, but I'm not sure if that is the issue. Help is very much appreciated!
r/vulkan • u/Desiswag377 • 4d ago
Sabercat 1.1.0: an open-source Vulkan tool for comparing, editing, and relighting Gaussian splats
How would I go about setting up vulkan for a path tracer?
So I want to move my path tracer from python+opengl to cpp+vulkan, I have a basic triangle but I’m not sure where to go from here.
I want to have at least two shader passes, one for the path tracer and the other for some compositing.
I also want to have imgui for ui.
I’ll be sending a lot of data to the path tracer so I’m wondering what’s the best way to do that.
Almost forgot I’ll also need some kind of hot recompile system for the shader.
Are there any tutorials/guides that can help me get all of those things working?
r/vulkan • u/ioegjueivcoxwi • 7d ago
Simpler way to use Vulkan in Rust
Over the past year, I have tried to build an abstraction layer for Vulkan in rust. I have used other layers such as Vulkano, but they did not quite quite my taste. Then, I felt inspired from the C++ abstraction layer called Daxa and build sgpu.
sgpu provides a static taskgraph which is simple yet powerful. The idea of each node being a trait is inspired by Vulkano.
I would love for everyone to check out the repo, report issues and even pull requests are welcome!!
github: https://github.com/pingpong74/sgpu
To see sgpu in action: https://github.com/pingpong74/N-body
PS: I havent been able to work on it for a few weeks, but updating sgpu to work with Slang, GLSL and HLSL is underway. Unfortunately it only works with rust-gpu right now.
r/vulkan • u/myemural • 7d ago
[UPDATE: Nov 28, 2026] My Vulkan C++ Examples Repository - Post-Processing Effects (Final Part)
galleryI am sharing the latest updates regarding my Vulkan examples repository: A total of 19 new examples have been added (since my last post), bringing the total number of examples to 205. The newly added examples are as follows:
Post-Processing Effects - Bloom and Glow
- Thresholded Bloom with Separable Gaussian Blur
- Mip-Chain Bloom (Physically Based, Downsample/Upsample)
- Bloom with Lens Dirt and Anamorphic Stretch
Post-Processing Effects - Analog Display Effects
- CRT Scanlines and Phosphor Masks
- CRT Screen Simulation (Curvature, Halation, Interlacing)
- VHS Tape Effect
Post-Processing Effects - Blur and Motion Effects
- Blur Techniques Comparison (Box, Gaussian, Kawase, Dual Kawase)
- Depth of Field (Gather-Based, Thin Lens CoC)
- Bokeh Depth of Field
- Camera Motion Blur via Depth Reprojection
- Per-Object Motion Blur with Velocity Buffer
Post-Processing Effects - Stylization and Image Effects
- Pixelation, Posterization and Ordered Dithering
- Edge Detection and Screen Space Outlines
- Cel Shading with Toon Ramp
- Kuwahara Filter (Basic, Generalized, Anisotropic)
Post-Processing Effects - Anti-Aliasing Techniques
- Fast Approximate Anti-Aliasing (FXAA)
- Subpixel Morphological Anti-Aliasing (SMAA 1x)
- Temporal Anti-Aliasing (TAA)
- Improved TAA with Variance Clipping
You can access the repository here:
https://github.com/myemural/VulkanCppExamples
With these examples, the Post-Processing Effects category is now complete. The next topic is Hardware-Accelerated Ray Tracing. Thanks in advance, and happy coding!
r/vulkan • u/Delicious_Abies_9708 • 6d ago
Ive been coding on my steamdeck and keeping with the vulkan love.
github.comr/vulkan • u/CharlyStudios • 7d ago
Hello, good day, I wanted to show you this...
galleryI ported my OpenGL engine to Vulkan, and I've been working on adding path tracing; I still want to improve performance.
r/vulkan • u/QwertyChouskie • 9d ago
KosmicKrisp Now The Go-To Solution For Vulkan On Macs In Place Of MoltenVK
phoronix.comr/vulkan • u/Umar5258 • 9d ago
RTX SDKs License – SDK shader code in runtime-compiled shaders vs. precompiled callable shaders
reddit.comr/vulkan • u/pablogonz12 • 9d ago
Translating a console's RDNA2 shader ISA straight to SPIR-V: looking for people who know SPIR-V and subgroups
I work on Scarlight, an open-source (GPL-3.0) compatibility tool that runs Xbox Series games on Linux through Proton, drawing with Mesa's Vulkan drivers. Today the console's RDNA2 shaders are recompiled to DXIL and go through vkd3d-proton and dxil-spirv. An experimental translator now goes from the console's instruction words straight to SPIR-V instead:
- 223 of the 442 compute programs we have emit SPIR-V that passes spirv-val and builds a real RADV pipeline, with no failures among those 223.
- Memory goes through buffer device addresses and push constants, no descriptor heaps; images bind one site per image instruction, and the view carries the console's format.
- The hard parts left: typed buffer formats, exact DPP and lane-shuffle semantics as subgroup ops, and per-lane EXEC as structured control flow instead of a dispatcher loop.
If you know SPIR-V, subgroup operations or VK_EXT_descriptor_buffer, I would value review or help. The tests are hand-built instruction words, so you do not need any game files: https://github.com/pablogonz12/Scarlight/pull/120
Disclosure: this project is written with AI assistance (Claude and DeepSeek), reviewed and tested by me; the numbers above come from offline checks on one RX 9070 XT.
r/vulkan • u/SnooStories6404 • 10d ago
Ray tracing large, dynamic worlds with RT-MLAS
gpuopen.comr/vulkan • u/Queasy_Total_914 • 10d ago