crosstl
Translate GPU shaders and compute kernels between GLSL, HLSL, Metal, SPIR-V and Slang, from CUDA and HIP, and to WGSL, through the CrossGL IR
- compiler
- cuda
- directx
- glsl
- gpu
- hlsl
- metal
- python
- shader
- slang
- spir-v
- transpiler
- vulkan
- webgpu
- wgsl
- Stars
- 1,670
- Forks
- 118
- + today
- +1
- Created
- 2y
Ranking data as of November 24, 2026 (UTC).
Star History
Today, hour by hour
1,6691,670
Overview
Translate GPU shaders and compute kernels between GLSL, HLSL, Metal, SPIR-V and Slang, from CUDA and HIP, and to WGSL, through the CrossGL IR It ranks #4037 on GitTiger, gaining +1 star on November 24, 2026 (UTC).
The project is written in Python and has 118 forks. It was created 2y ago.
Installation
git clone https://github.com/CrossGL/crosstl.git
cd crosstl
# see README for setup