[GSoC 2026] DCompute Vulkan Backend
Quang Ha
ha.phamquang.dev at gmail.com
Thu Jul 9 00:39:55 UTC 2026
### My GSoC Progress: Back from Exams & A Surprise Bug!
Hi everyone, this is my new update. I took a short break from the
project because I had to study for my university final exams.
Now, I am back to work!
#### 🛠️ What I Did This Week
* **Fixed the Linker Error:** First, I updated my LDC and LLVM to
the newest versions. But then, I got a very bad linker error and
could not build the compiler. Finally, I found a trick! I added a
new entry in CMake: `CMAKE_MSVC_RUNTIME_LIBRARY` with the value
`MultiThreaded`. This fixed the build.
* **Continued ABI Testing (from Week 3):** I went back to my
unfinished work from Week 3. I used the `vulkan_minimal_compute`
project to do ABI testing and check if my `.spv` file works with
the Vulkan API.
* **Found an LLVM Bug!:** This is the most interesting part of
the week. While I was doing the ABI testing, I found a bug. But
it was not my bug, it was a bug inside LLVM! So now, I am also
trying to fix this LLVM bug.
#### 🛑 Challenges
* **Getting back on track:** Taking a break for exams made me
forget some small details. It took me a little time to remember
how the ABI testing works from Week 3.
* **Fixing LLVM:** Finding a bug in my own code is normal, but
finding a bug inside LLVM is a big surprise. The LLVM codebase is
very huge, so fixing it is a big challenge for me.
#### 🎯 Plans for Next Week
* I will focus on fixing the LLVM bug I found.
* I will finish the ABI testing with the `vulkan_minimal_compute`
project.
* I will clean up my code and wait for my mentor to review my
pull request.
#### 🔗 Resources & Code
* Commits/PRs: https://github.com/ldc-developers/ldc/pull/5132
* My Personal Blog: https://gnavdev28.github.io
More information about the Digitalmars-d
mailing list