{"repo":"CrossGL/crosstl","free":true,"listed":false,"github":"https://github.com/CrossGL/crosstl","clone":"git clone https://github.com/CrossGL/crosstl.git","description":"Universal Programming Language & Translator","language":"Python","stars":282,"topics":["apple","directx","game-development","gamedev","graphics","metal","opengl","vulkan","modular","mojo"],"license":"Apache-2.0","category":"game-templates","readme_excerpt":"--- CrossTL - Universal Shader Translator CrossTL is a shader and compute program translator built around CrossGL — an intermediate representation (IR) language that bridges graphics APIs, GPU-compute platforms, and systems-language targets. Supported Translation Targets CrossTL provides translation from CrossGL to: - Metal - Apple's graphics and compute API - DirectX (HLSL) - Microsoft's graphics API - OpenGL (GLSL) - Cross-platform graphics - WebGL (GLSL ES) - Browser graphics through WebGL 2.0 compatible GLSL ES - WebGPU (WGSL) - Browser and native WebGPU shader output - Vulkan (SPIRV) - High-performance graphics and compute - CUDA - NVIDIA parallel computing - HIP - AMD GPU computing - Rust - GPU-oriented Rust shader code - Mojo - Mojo shader/compute modules - Slang - Real-time shading language - CrossGL (.cgl) - The IR/interchange format itself Native source import is available for the bidirectional backends listed in the support matrix. WebGL and WGSL are currently target-only outputs; .webgl.glsl , .wgsl , and .wesl inputs are rejected until dedicated source frontends land. Backend Readiness: DirectX / Metal / OpenGL We maintain first-class, bidirectional support for the three cornerstone graphics APIs. Each backend is implemented as both a source (parse/import) and codegen (export) target, so you can round‑trip between native shaders and CrossGL without lossy hops. - DirectX / HLSL - Pipeline coverage: vertex, fragment/pixel, compute, geometry, hull/domain (tessellati","default_branch":null,"files":null,"tree":[],"storefront":"/r/CrossGL","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/CrossGL/crosstl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}