Skip to main content

CrossGL: Revolutionizing Shader Development

Reason this release was yanked:

OpenGL

Project description

CrossGL Translator

The CrossGL Translator is a core component of our platform, enabling the conversion of CrossGL shader code directly into various graphics APIs, such as DirectX, Metal, and Vulkan.

Key Features

  • Direct s2s conversion: Translates shaders directly to graphical languages / IR, bypassing many needless intermediate translations.
  • Unified Language: Supports multiple platforms with a single, consistent unified AST.
  • Optimized Performance: Generates highly optimized code tailored to the target backend.

How It Works

The translator takes CrossGL shader code and processes it through several stages:

  1. Parsing: The code is parsed into an abstract syntax tree (AST).
  2. Intermediate Representation: The AST is converted into an intermediate representation (IR) for optimization.
  3. Code Generation: The IR is translated into the target backend code.
  4. Optimization: Various optimization passes are applied to ensure maximum performance.
  5. Source output: The final output is produced and ready for use.

Examples

https://github.com/CrossGL/demos/tree/main

Backends
Vulkan
Metal
DirectX
OpenGL

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crosstl-0.0.1.tar.gz (36.0 kB view details)

Uploaded Source

File details

Details for the file crosstl-0.0.1.tar.gz.

File metadata

  • Download URL: crosstl-0.0.1.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for crosstl-0.0.1.tar.gz
Algorithm Hash digest
SHA256 73805f76fb490bf4b4b60e474362e2df006dad88b03d3a9dd6fd08bda05a3ee2
MD5 60a06c164ba5764a23a6764da9cc7597
BLAKE2b-256 f3f98b1925866a030e2702933f98ec59a5e31e50cd0dcc11e06a59bcfec6866b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page