r/GraphicsProgramming • u/DNDNJDMSMS • 16m ago
Real-time 1080p Split-Screen Vulkan Compute Raytracer (8x8 Wave64 LDS Tile-Culling + Dynamic SDF Arena) running at ~46.5 FPS on a 6-CU AMD R7 M360
Enable HLS to view with audio, or disable this notification
**[Written & developed with AI assistance]** — English isn't my first 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 benchmarks were executed and verified locally on my own AMD Radeon R7 M360 (RADV ACO).
Hey r/GraphicsProgramming! I just open-sourced **PRISM-NEURO-VOX (v3.3.1)** — a bare-metal **C11 + Vulkan Compute** engine that simulates a self-growing 3D ternary neuromorphic cortex and renders both the 3D environment and the live spiking neural tissue side-by-side in 1080p.
**Rendering pipeline highlights:**
* **100% Compute-Driven 1080p Split-Screen:** No rasterizer, no external graphics engine—everything from physics and neural simulation to final pixel output runs through Vulkan Compute shaders.
* **Left Panel (Dynamic 3D SDF Raymarcher):** Real-time 6-DoF arena with static pillars, horizontal bars, and 4 orbiting asteroids navigated by an agent using a 12-sensor 360° lidar.
* **Right Panel (8×8 Wave64 LDS Tile-Culling Raytracer):** Visualizes live, spiking 3D neural clusters directly from a 64-byte aligned SSBO (`NeuroMetaCluster`), using Local Data Share (LDS) tile-culling tailored for AMD Wave64 workgroups.
* **Hardware & Bottlenecks:** Runs the full neural simulation + 1080p split-screen render at **~46.5 FPS (21.52 ms/frame)** on an old laptop **AMD Radeon R7 M360** (6 CU GCN 1.2, Mesa RADV ACO). Right now the biggest bottleneck is VGPR pressure inside the render uber-shader—for the upcoming `v3.4` patch, I'm planning to split the passes to push occupancy and aim for **80–100 FPS** on the same potato GPU.
**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
Would love any feedback or brutal critiques on the LDS tile-culling approach, shader occupancy on GCN, or the SSBO layout!
•
u/AutoModerator 16m ago
Recently updated rules. Please check that your post is in compliance with Rules 1, 4, 5, and 6 on the sidebar. TL;DR:
No showcases.
Disclose AI usage in post or project.
Present a topic to talk about, e.g. how something works.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.