Vcc – The Vulkan Clang Compiler

Vcc, also known as the Vulkan Clang Compiler, is a C and C++ compiler specifically designed for Vulkan. Unlike other shading languages, Vcc stays true to standard C/C++ languages and only adds a few new intrinsics to cover GPU features. This allows Vcc to support advanced C/C++ features that are typically not found in shading languages like HLSL or GLSL. Some key features of Vcc include unrestricted pointers, generic pointers, true function calls (even recursion), function pointers, and arbitrary goto statements. Vcc aims to bridge the gap between compute APIs and graphics APIs by implementing these capabilities. However, it is important to note that Vcc is still a work-in-progress and has some limitations, such as the lack of support for certain functions like malloc/free and non-portability of function and data pointers between host and device. Nevertheless, Vcc is an innovative compiler that brings the advantages of standard host languages to Vulkan shaders.

https://shady-gang.github.io/vcc/

To top