Bringing HLSL Support to Clangd: The HLSL teams first GSoC project

Search for a command to run...

No comments yet. Be the first to comment.
Today we are deconstructing the 4-Star Dragon Ball shader (available on Shadertoy here). This shader is a good example of using 2D math to drive 3D optical effects. To understand it, we must reference

In Part 1, I talked about the high-level "magic" happening on your wrist. How Apple uses neural networks and math to guess your VO2Max even when you’re just walking around the block. But if you're lik
I am a data junkie. I track, measure, and optimize. So, when a severe ankle injury recently sidelined me, the hardest part wasn't the physical pain it was watching my hard earned fitness metrics plumm

In my previous post, I detailed how our move from the Android Emulator to standalone Android-x86 VHDX images gave us impressive cost saving wins for our fuzzing budget. With any infrastructure pivot,

When I was the head of Microsoft's Edge security for the US market, we ran into an infrastructure challenge that forced us to completely rethink how we fuzzed Android. The project we built no longer e
I am thrilled my team is sponsoring our first of many featured project for the 2026 Google Summer of Code Enable Clangd support for HLSL.
If you are a student developer interested in compilers, developer tooling, or graphics programming, this is a unique opportunity to contribute to the LLVM ecosystem and improve the lives of thousands of shader developers.
HLSL (High-Level Shader Language) is the primary language used for GPU shader programming in DirectX and Vulkan via SPIR-V environments. Currently, there is a massive effort underway to bring first-class HLSL support directly into Clang.
Clangd is the language server (LSP) that provides IDE features like code completion, go-to-definition, and refactoring for C++. Since HLSL is built on the C++11 standard, clangd already "mostly" works, but it struggles with HLSL-specific constructs. This project aims to close that gap.
The objective is to move from "semi-functional" to "holistic" support. This isn't just about writing code; it’s about understanding the nuances of a domain-specific language and designing how tools should interact with it.
By taking on this project, you’ll be mentored by two bright engineers who are deeply involved in the LLVM and HLSL space. You will gain hands-on experience with the LLVM codebase which is one of the most influential open-source projects in the world and your work will directly improve the developer experience for gpu compilers.
If you’re interested in applying, we encourage you to join the conversation early!
Feel free to reach out on the LLVM Discourse or Discord to introduce yourself and ask questions. We can’t wait to see what you’ll build!
First published 4/17/26 on blog.farzon.org