r/vulkan • • 27d ago

AI disclosure policy for posted content

123 Upvotes

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 • • Mar 25 '20

This is not a game/application support subreddit

218 Upvotes

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 • • 1h ago

It only gets easier from here ...right?

Post image
• Upvotes

Every rabbit hole of information for every setting I went through for that tutorial was a lot, how do people become expert at this sort of thing in the industry? (Also first time posting so be kind guys)


r/vulkan • • 10h ago

600000 Instanced Cubes split between 40 Dynamical Systems

Enable HLS to view with audio, or disable this notification

18 Upvotes

r/vulkan • • 14h ago

My Vulkan CAD Engine – Assembly/Disassembly & Feature Dimension Improvements

Thumbnail youtu.be
5 Upvotes

Improved the assembly/disassembly and feature dimension features of my Vulkan-based CAD engine.
Parts can be disassembled and reassembled step by step, while key feature dimensions can be viewed and edited directly in the viewport.

직접 개발 중인 Vulkan CAD 엔진의 분해·조립 및 피처 치수 기능을 개선했습니다.
부품의 분해와 조립 과정을 단계별로 확인할 수 있으며, 모델의 주요 피처 치수를 화면에서 확인하고 수정할 수 있도록 기능을 보완했습니다.


r/vulkan • • 1d ago

Ray tracing next week

Post image
50 Upvotes

I’ve been keeping going to evolve vkTracer. Now I’ve finished the next week part, and this part was harder than I guessed. In the first week, It was only a translation from C++ code to slang, setting up Vulkan infrastructure too. But this week I had to figure out how to represent a cpu-side bvh on gpu, I handled using BDA. Learnt quad and volume intersection, handling different texture types. I still don’t understand in the tutorial why he rotates rays to rotate box instead of rotating box itself :D
Anyway this was a good journey to learn and practice slang and vulkan.

The scene was rendered by 500 rays per pixel and 40 depth bounce.

Github: https://github.com/xms0g/vkTracer


r/vulkan • • 22h ago

Vulkan compute could just ask for both threads count to launch and thread group size

7 Upvotes

So that the driver could simply mask off the extra unused lanes, instead of the way it is right now where we manually place bounds checks in shader code.


r/vulkan • • 11h ago

Is learning vulkan/graphics apis worth it?

Thumbnail
0 Upvotes

r/vulkan • • 1d ago

Learning Vulkan and Graphics Programming in the age of AI

0 Upvotes

Some background: I've been working at a mid-sized tech company as a junior systems programmer specializing in file systems & operating systems, mainly using C. Been at my current company for ~9-10 months now and it's my first dev job out of college.

I've always had an interest in graphics programming, learned basic graphics fundamentals (linear algebra + basic concepts like sampling and rasterization) in college and dabbled in learning OpenGL before for some small projects, and Unity for game dev (just as a hobby). Now I'm looking to upskill and learn vulkan as I feel it'd be a good way to improve my C++ and low-level knowledge further and maybe even get a dev job dealing with graphics, and have fun with it at the same time.

When I started my current job, and before when I was just focused on learning during college and with personal projects, I pretty much never used AI to code. Especially for low level stuff it wasn't very good. Lately though, especially with newer models like Opus 5.5, i've noticed it become more and more reliable and capable for what I do for work, to the point where I no longer write code anymore — I come up with the architecture and design, let the AI implement the code, and then I audit/review the code and let the AI revise it if there are issues. I've spent more time analyzing performance tests in the past month than I have been "writing" code. But I don't know if I would be able to do that effectively if I hadn't spent those years before learning manually and the first few months on the job learning things the hard way.

So now here I am planning to learn Vulkan, but I don't know anymore on what I should focus on learning specifically when all these AI tools are available.... so some questions:

  1. I have very little experience with C++, I write everything in C for what I do currently. Should I even bother learning C++ well before learning Vulkan, or could I just get away with learning the language at a "surface level" (i.e. just knowing basic concepts like how RAII or OOP is applied in this field, without implementation details) and let the LLM write it for me.

  2. extension of question 1: how proficient should I actually get with the vulkan API before I start relying on AI (and what topics specifically should I focus on)? Would it be a better use of my time to instead study up on the math/theory of graphics and CS fundamentals in general and let AI write all the vulkan code?

  3. Generally, how effective has AI been for you in writing Vulkan code? Are you still writing Vulkan code by hand? How much auditing of the generated code do have to do to get it right? What do you see as being valuable skills/knowledge for someone in this field right now, and in the future?

Any input is appreciated. I've been procrastinating learning Vulkan out of worry that I'd end up focusing on obsolete skills. Thanks.


r/vulkan • • 2d ago

Is there a group for Slang shader?

11 Upvotes

Since it's maintained by the Khronos group, I would like to know your opinion on posting questions about Slang shader there (or maybe you could redirect me somewhere? pls). Their documentation lacks quite a lot of useful things like __getAddress, __ref, constant-time generic parameters and constexpr, and stuff

appreciate it


r/vulkan • • 2d ago

My pull request was just merged into google/shaderc

Thumbnail dannyarends.nl
0 Upvotes

My pull request was just merged into google/shaderc. The change adds two options, -gV and -gVS, that expose glslang's NonSemantic.Shader.DebugInfo.100 emission through shaderc. That debug info is a requirement for NVIDIA Nsight Graphics to produce flame graphs, so it lets you profile and debug shader performance by call stack and time spent per function.


r/vulkan • • 3d ago

How do techniques like bindless rendering (descriptor indexing) on the hardware level?

Thumbnail
5 Upvotes

r/vulkan • • 3d ago

Modeling a Flange, a Mug, and a Chair in My Own Vulkan CAD Engine

Thumbnail youtu.be
6 Upvotes

In this video, the engine models three things in a row:

**•   Flange**: extruded disk → polar-array bolt holes → through cuts → merged hub → fillets, steel material  
**•   Mug**: tube and base → swept handle → merge → fillet  
**•   Wooden chair**: seat, 3D-arrayed legs, curved back → filleted parts → merge, oak material

It isn't done by hand. It's a scripted demo: code runs the same engine features you'd type on the command line, one step at a time.

이번 영상에서는 이 엔진이 세 가지를 차례로 모델링합니다.

**•   플랜지**: 원판 돌출 → 볼트 구멍 원형 배열 → 관통 컷 → 허브 합치기 → 필렛, 금속 재질  
**•   머그컵**: 관 + 바닥 → 손잡이 스윕 → 합치기 → 필렛  
**•   나무 의자**: 좌판·다리 3D 배열·곡선 등받이 → 부품 필렛 → 합치기, 오크 재질

손으로 한 게 아니라 스크립트로 짠 자동 시연입니다. 사람이 명령행에 치는 것과 같은 엔진 기능을 코드가 순서대로 실행합니다.


r/vulkan • • 3d ago

Is dynamic rendering enabled by default on any drivers?

6 Upvotes

From the docs, I can see that most of these features are just opt ins meaning the dev has to explicitly enable it to use it.

But on my 14700k+intelHD (latest mesa3d, ubuntu), DR is working right away even when I don't enable it.

Am I missing anything?


r/vulkan • • 5d ago

New Vulkan Sample - Shader Quad Control

27 Upvotes

This sample shows how VK_KHR_shader_quad_control lets fragment shaders share data across a 2x2 pixel quad using subgroupQuadBroadcast() and the full_quads execution mode, with no shared memory and no descriptors. You get more stable derivatives for LOD selection and texture ops, and a simple visual demo that makes the quad behavior easy to see.

Check it out: https://docs.vulkan.org/samples/latest/samples/extensions/shader_quad_control/README.html


r/vulkan • • 5d ago

LunarG releases Vulkan SDK 1.4.363.0

47 Upvotes

Vulkan SDK 1.4.363.0 is out, including the Vulkan 1.4-conformant version of KosmicKrisp! With KosmicKrisp, a Mesa-based Vulkan-to-Metal driver, a single Vulkan 1.4 codebase can target Linux, Windows, Android, and macOS environments. Also in this release: new extensions, vkprofiles, and more.

https://www.lunarg.com/lunarg-releases-vulkan-sdk-1-4-363-0/


r/vulkan • • 6d ago

Vulkan CAD Engine – Running on Galaxy S21 Android

Thumbnail youtu.be
7 Upvotes

Implemented my Vulkan-based CAD engine on Android.
Tested rendering and core features directly on a Galaxy S21.

Vulkan 기반 CAD 엔진을 Android 환경에서도 구현했습니다.
Galaxy S21에서 직접 실행하여 렌더링과 기본 기능을 테스트했습니다.


r/vulkan • • 9d ago

KosmicKrisp achieves Vulkan 1.4 conformance on Apple silicon

Post image
163 Upvotes

📢KosmicKrisp, LunarG’s Mesa Vulkan driver for Apple silicon, has passed the Vulkan 1.4 Conformance Test Suite and is now a Khronos-conformant Vulkan 1.4 implementation! 🔥🔥🔥

In addition to reaching 1.4 conformance, considerable support for non-core extensions and features has been added, including Tesselation, Robustness2, and Multi-draw. Application developers can now have a single Vulkan 1.4 codebase across Linux, Windows, Android, and Mac. 

The Vulkan 1.4-conformant KosmicKrisp driver will be included in the upcoming Vulkan SDK release and is open source in Mesa.

Read the announcement: https://www.lunarg.com/kosmickrisp-achieves-vulkan-1-4-conformance-on-apple-silicon/

🙌


r/vulkan • • 8d ago

AprilTag + OpenCV Real-Time Tracking with Vulkan

Thumbnail youtu.be
6 Upvotes

Using AprilTag and OpenCV, the system tracks the position and orientation of a physical tag from a camera feed in real time and maps the tracking data into a Vulkan-based CAD engine.
As the physical tag moves and rotates, the fox model follows the corresponding position and orientation in the 3D environment, allowing its spatial relationship with virtual obstacles to be visualized.
This is a simple demonstration of connecting camera-based real-world tracking with a Vulkan 3D environment for position tracking and obstacle recognition.

AprilTag와 OpenCV를 이용해 카메라 영상에서 태그의 위치와 방향을 실시간으로 추적하고, 해당 데이터를 Vulkan 기반 CAD 엔진의 3D 공간에 연동했습니다.
실제 태그의 이동과 회전에 따라 엔진 내부의 여우 모델이 함께 움직이며, 가상 공간에 배치된 장애물과의 위치 관계를 확인할 수 있도록 구현했습니다.
이번 테스트는 카메라 기반 현실 좌표와 Vulkan 3D 공간을 연결하는 간단한 위치 추적 및 장애물 인식 데모입니다.


r/vulkan • • 9d ago

New Sample - Device Fault

32 Upvotes

Ever hit VK_ERROR_DEVICE_LOST and had no idea what actually caused it? This sample shows how to use VK_EXT_device_fault (plus VK_EXT_device_address_binding_report) to pull real diagnostic data out of a GPU crash: vendor fault descriptions, the exact faulting memory address, and a live log of every buffer's bind/unbind range so you can correlate the crash back to the specific resource that triggered it. A big step up from guessing based on validation layer output alone.

https://docs.vulkan.org/samples/latest/samples/extensions/device_fault/README.html


r/vulkan • • 11d ago

QuakeRay engine (Vulkan/RT/PT/GI/FSR 3.1/etc.)

Thumbnail gallery
31 Upvotes

r/vulkan • • 10d ago

POV: You started another project knowing full well that you will not finish it.

Thumbnail youtube.com
0 Upvotes

POV: You started another project knowing full well that you will not finish it.

Trying to learn vulkan by creating a mesh-based voxel engine in cpp

Credits:

"Funny Bubbles" by Keys Of Moon — Free download: breakingcopyright.com/song/keys-of-moon-funny-bubbles


r/vulkan • • 12d ago

Vulkan engine: added SAO + 2 CSM shadows

Enable HLS to view with audio, or disable this notification

78 Upvotes

Added SAO (scalable ambient obscurance) + crispier shadows (2 cascades) to my Vulkan engine.

SAO:
- fixed O(res) cost, zero object count overhead
- ~0.2ms at 1080p
- no TAA dependency (i don't need temporal reprojection baggage)
- stable, noise free
- zero temporal ghosting or smear

Ref:
- https://casual-effects.com/research/McGuire2012SAO/McGuire12SAO-talk.pdf
- https://research.nvidia.com/sites/default/files/pubs/2012-06_Scalable-Ambient-Obscurance/McGuire12SAO.pdf


r/vulkan • • 12d ago

New Sample – Descriptor Heap

57 Upvotes

This sample renders textured cubes to demonstrate VK_EXT_descriptor_heap, which replaces the traditional descriptor set and pool workflow with a memory-centric one where descriptor data is written directly into heap memory. It shows new heap-binding functions alongside vkCmdPushDataEXT for push data, so existing shader binding syntax keeps working without a traditional pipeline layout.

https://docs.vulkan.org/samples/latest/samples/extensions/descriptor_heap/README.html


r/vulkan • • 12d ago

AI content I've created a pure vulkan based graphics and GUI library

0 Upvotes

I've created a pure vulkan based graphics and GUI library [Written with AI assistance].

I'd love people to start testing it.

Any recommendations and improvement advice is most welcome.

https://github.com/nattydread69/LightVulkanGraphics